用户:
如果与否则查看:0 回复:0 评论:0 创建时间:2021-03-15T12:13:41
【作品展示】

【作品介绍】
关于打字的作品
【作品源代码】
import turtle
import easygui
__Pen = turtle.Pen()
a, f = input('打印的字'), input('大小')
__Pen.hideturtle()
__Pen.penup()
__Pen.goto((-200), 0)
__Pen.pendown()
__Pen.write(a, font = ('Calibri', f, 'bold'))
if (easygui.ynbox('是否继续?', '海归打字', ('1', '2')) == 1):
a, f = input('打印的字'), input('大小')
__Pen.hideturtle()
__Pen.penup()
__Pen.goto((-200), 0)
__Pen.pendown()
__Pen.write(a, font = ('Calibri', f, 'bold'))
else:
easygui.msgbox('已结束', '海归打字', '好的')
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn