Commit 26d2d132 by BellCodeEditor

save project

parent 9a83d282
Showing with 3 additions and 1 deletions
...@@ -11,7 +11,9 @@ pen1.fillcolor("red") ...@@ -11,7 +11,9 @@ pen1.fillcolor("red")
pen1.begin_fill() pen1.begin_fill()
pen1.pencolor("yellow") pen1.pencolor("yellow")
pen1.setheading(45) pen1.setheading(45)
len = 100 screen = turtle.Screen()
len = screen.textinput("输入:",len)
len = int(len)
pen1.forward(2 * len) pen1.forward(2 * len)
pen1.circle(len,180) pen1.circle(len,180)
pen1.right(90) pen1.right(90)
......
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