Commit 5154c407 by BellCodeEditor

save project

parent 85855d66
Showing with 23 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("iof二分图图","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.hideturtle() pen.hideturtle()
...@@ -19,3 +19,25 @@ pen.circle(len,180) ...@@ -19,3 +19,25 @@ pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
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