用户:lecheems查看:1 回复:2 评论:1 创建时间:2021-07-04T11:37:29
【作品展示】

【作品介绍】
按提示操作即可
【作品源代码】
import easygui
import random
def game(e, b, q):
a = easygui.ynbox('是否玩我的游戏?', 'Codemao', ('是', '否'))
if a:
easygui.msgbox('你是可爱的小喵?')
easygui.msgbox('哈,我想你拉,这你都不知道吗?')
easygui.msgbox('怎么才来,说~是不是不关心我')
easygui.msgbox('哼,我生气拉,等你这么久,心都凉啦。')
easygui.msgbox('小强很生气,后果很严重哦。')
easygui.msgbox('嘿嘿!你也会很惨滴哦')
easygui.msgbox('是不是想清除我?')
easygui.msgbox('那你要点上{}下哦,不过会给你惊喜滴'.format(e))
for i in range(e, (-1), (-1)):
easygui.msgbox('还剩{}下'.format(i))
easygui.msgbox('我本因该消失的,不过我留恋你滴芳容,上帝又给了一次机会。')
while True:
easygui.msgbox('想结素我么?那你就再多点亿次')
else:
easygui.msgbox('那你点{}下才能结素我'.format(b))
for i in range(b, (-1), (-1)):
easygui.msgbox('还剩{}下才能结素我'.format(i))
for i in range(q, (-1), (-1)):
easygui.msgbox('我本因该消失的,不过我留恋你滴芳容,上帝又给了我{}次机会。'.format(i))
while True:
easygui.msgbox('我就是这么喵,谁叫你不玩')
w = random.randint(100, 1500)
s = random.randint(100, 1500)
x = random.randint(100, 1500)
print(w,s,x)
game(w, s, x)
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn