Commit 03da1530 by BellCodeEditor

save project

parent 860d95b1
Showing with 2 additions and 0 deletions
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=int(len)
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
......
...@@ -16,3 +16,4 @@ pen1.circle(len,180) ...@@ -16,3 +16,4 @@ pen1.circle(len,180)
pen1.forward(2*len) pen1.forward(2*len)
turtle.done() turtle.done()
screen.bgcolor("red") screen.bgcolor("red")
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