Commit 18f518bb by BellCodeEditor

save project

parent 0835bfc1
Showing with 4 additions and 0 deletions
...@@ -5,6 +5,8 @@ screen.bgcolor("light pink") ...@@ -5,6 +5,8 @@ screen.bgcolor("light pink")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(50,100)
pen.write("你好\nSB.",font=("Times",10 ,"normal")) pen.write("你好\nSB.",font=("Times",10 ,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
...@@ -19,5 +21,7 @@ pen.circle(50,180) ...@@ -19,5 +21,7 @@ pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(2*50) pen.forward(2*50)
pen.penup()
pen.goto(100,-100)
pen.write("你好诺依,\n我已经收到了信,\n你在那边好吗?\n",font=("Times","15","normal")) pen.write("你好诺依,\n我已经收到了信,\n你在那边好吗?\n",font=("Times","15","normal"))
turtle.done() turtle.done()
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