猫史档案馆


【Python作品分享】新的作品【作品秀】

用户:FCX最牛的话唠FCX最牛的话唠查看:0 回复:0 评论:0 创建时间:2021-12-25T10:35:55


【作品展示】

center_image

 

【作品介绍】

模拟电脑

 

【作品源代码】

import turtle
import easygui
import time

__Pen = turtle.Pen()


print('此区域为代码区')
__Pen.pensize(5)
__Pen.hideturtle()
__Pen.pencolor("#33ffff")
__Pen.circle(50)
__Pen.goto(100, 100)
__Pen.forward(100)
__Pen.write('Hello  windows11')
easygui.msgbox(turtle.textinput('windows11系统', '请输入密码'))
easygui.msgbox('您好 windows11用户')
print('Hello  windows11用户')
__Pen.clear()
__Pen.circle(100)
__Pen.setx((-200))
__Pen.write(' windows11')
if easygui.ynbox('是否继续?'):
    pass
time.sleep(2)
easygui.msgbox('正在加载中')
time.sleep(1)
easygui.msgbox('是否打开游戏"穿越火线HD"', 'windows11智能助手')
time.sleep(2)
easygui.msgbox('正在打开WeGame')
__Pen.clear()
__Pen.pencolor("#999900")
__Pen.write('WeGame')
easygui.msgbox('是否打开"穿越火线 HD"')
time.sleep(2)
easygui.msgbox('正在查寻电脑配置')
time.sleep(1)
easygui.msgbox('您的电脑配置低')
__Pen.clear()
easygui.msgbox(' 最好换一台电脑', 'WeGame')
__Pen.circle(50)
__Pen.setx(5)
__Pen.write('WeGane')
turtle.done()

 

【提示】

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

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页