Commit 7752af10 by BellCodeEditor

save project

parent c66a449e
Showing with 12 additions and 1 deletions
......@@ -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("诺依你好啊",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
......
#导入turtle库
import turtle
#创建画笔
pen=turtle.Pen()
#写字
pen.write("诺依你好啊,\nturtle模块真好用,\n我会在画布上写字了",font=("Times",30,"normal"))
#隐藏
pen.hideturtle()
#保持
turtle.done()
\ No newline at end of file
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