Commit e39e440d by BellCodeEditor

save project

parent 2ae9d2bb
Showing with 2 additions and 1 deletions
...@@ -8,9 +8,10 @@ t.goto(100,0) ...@@ -8,9 +8,10 @@ t.goto(100,0)
t.write("奥\n\n给",font=("times",30,"normal")) t.write("奥\n\n给",font=("times",30,"normal"))
t.hideturtle() t.hideturtle()
x=turtle.Pen() x=turtle.Pen()
len=20
x.pencolor("red") x.pencolor("red")
x.left(45) x.left(45)
len=s.textinput("大小","你想输入大小多少")
len=int(len)
x.forward(2*len) x.forward(2*len)
x.circle(len,180) x.circle(len,180)
x.right(90) x.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