Commit a3a45e86 by BellCodeEditor

save project

parent c66a449e
Showing with 11 additions and 1 deletions
#导入模块
import turtle
#新建画笔
pen=turtle.Pen()
pen.write("我在5:20睡觉,\n13:14准时起,\n主打个浪漫,\n",font=("Simsun",25,"normal"))
#隐藏画笔
pen.hideturtle()
#保存画布
turtle.done()
\ No newline at end of file
......@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.write("儿子,\n儿子,\n我是你爸爸.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
......
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