Commit 6e204c78 by BellCodeEditor

save project

parent 368f6936
Showing with 6 additions and 1 deletions
# # 利用write()帮助悟空给诺依回信吧~ # # 利用write()帮助悟空给诺依回信吧~
import turtle as t import turtle as t
len=30 #设置写字的画笔
pen = t.Pen() pen = t.Pen()
#设置画布
sc=t.Screen() sc=t.Screen()
#画布颜色
sc.bgcolor('pink') sc.bgcolor('pink')
#交互框
len=int(sc.textinput('提示','你想要多大的爱心:'))
pen.penup() pen.penup()
pen.goto(20,-100) pen.goto(20,-100)
pen.write('雄关漫道真如铁\n如今迈道从头越',font=('times',30,'normal')) pen.write('雄关漫道真如铁\n如今迈道从头越',font=('times',30,'normal'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment