Commit adedf351 by BellCodeEditor

save project

parent 9e2fa3f1
Showing with 2 additions and 2 deletions
...@@ -3,7 +3,7 @@ import turtle ...@@ -3,7 +3,7 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("傻子请看这","你要多大爱心?")
len=int(len) len=int(len)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.penup() pen1.penup()
...@@ -11,7 +11,7 @@ pen1.goto(100,-100) ...@@ -11,7 +11,7 @@ pen1.goto(100,-100)
pen1.pendown() pen1.pendown()
pen1.write("你好,\n儿子!\n我是你爸爸!\n",font=("Times",30,"normal")) pen1.write("你好,\n儿子!\n我是你爸爸!\n",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=200 len=100
pen.pencolor("red") pen.pencolor("red")
pen.shape("turtle") pen.shape("turtle")
pen.speed(10) pen.speed(10)
......
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