Commit 04321dfb by BellCodeEditor

save project

parent b48156ac
Showing with 6 additions and 5 deletions
...@@ -9,13 +9,14 @@ pen.hideturtle() ...@@ -9,13 +9,14 @@ pen.hideturtle()
bi=turtle.Pen() bi=turtle.Pen()
bi.pensize(5) bi.pensize(5)
bi.pencolor("red") bi.pencolor("red")
len.60 len=screen.textinput("提示","请输入大小")
int_len=int(len)
bi.lt(45) bi.lt(45)
bi.fd(len*2) bi.fd(int_len*2)
bi.circle(len,180) bi.circle(int_len,180)
bi.rt(90) bi.rt(90)
bi.circle(len,180) bi.circle(int_len,180)
bi.fd(len*2) bi.fd(int_len*2)
bi.end_fill() bi.end_fill()
bi.penup() bi.penup()
bi.goto(-100,-100) bi.goto(-100,-100)
......
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