猫史档案馆


【Python作品分享】喵不通证明生成器-副本-副本【作品秀】

用户:机灵的训练师mXrA机灵的训练师mXrA查看:0 回复:2 评论:0 创建时间:2020-04-25T15:02:23


【作品展示】

center_image

 

【作品介绍】

这要证?这能证?这咋证?

一键拥有喵不通证明!

麻麻再也不用担心证明题只会写:

”证:“了!

(然鹅这东西根本不会生成什么有用的证明)

{请不要把生成出来的结果用在任何正式场合}

【作者B站号:残云air 么得其他联系方式}

 

【作品源代码】

import time
import turtle
import random

__Pen = turtle.Pen()


print('啊哈,宁来了{老祖安人了}')
time.sleep(1)
print('宁还在思考怎么写数学证明?')
time.sleep(2)
print('来吧,一键拥有喵不通证明')
assholewords = ['赛', '格', '雷', '拉', '费', '郎', '瓦', '亚', '转', '高', '克', '伊', '蒙', '夫', '卡', '', '', '', '', '', '', '', '', '', '', '', '']
houzui = ['第一定律', '第二定律', '第三定律', '定理', '模型']
turtle.bgcolor("#33ff33")
print('绿色护眼~')
questionasked = [1]
time.sleep(1)
__Pen.penup()
__Pen.hideturtle()
__Pen.goto((-100), 100)
__Pen.pensize(20)
a = input('请键入“生成”开始生成')
while ('生成' == a):
    b = input('请输入命题')
    if (b in questionasked):
        time.sleep(1)
        print('什么嘛,这个问题都回答过了')
        continue
    questionasked.append(b)
    asshole1 = None
    asshole2 = None
    asshole3 = None
    asshole4 = None
    houzui1 = None
    asshole1 = assholewords[random.randint(0, (len(assholewords) - 13))]
    if (asshole1 != ''):
        del assholewords[assholewords.index(asshole1)]
    asshole2 = assholewords[random.randint(0, (len(assholewords) - 13))]
    if (asshole2 != ''):
        del assholewords[assholewords.index(asshole2)]
    asshole3 = assholewords[random.randint(0, (len(assholewords) - 1))]
    if (asshole3 != ''):
        del assholewords[assholewords.index(asshole3)]
    asshole4 = assholewords[random.randint(0, (len(assholewords) - 1))]
    houzui1 = houzui[random.randint(0, (len(houzui) - 1))]
    time.sleep(1)
    time.sleep(1)
    result = ('证:因为' + ((asshole1 + (asshole2 + (asshole3 + (asshole4 + houzui1)))) + ('显然可见,' + (b + '成立,证毕'))))
    assholewords.insert((-11), asshole1)
    assholewords.insert((-11), asshole2)
    assholewords.insert((-11), asshole3)
    __Pen.write(result)
    __Pen.pendown()
    a = input('再来一遍?')
    __Pen.clear()

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
LAG的1048576一枚LAG的1048576一枚

证:因为夫蒙卡第一定律显然可见,作者凉凉成立,证毕

点赞0


评论


浅时光桎浩浅时光桎浩

考虑一下加入我们繁星工坊

点赞0


评论