Commit ef87e715 by BellCodeEditor

save project

parent 4799ca5f
Showing with 6 additions and 4 deletions
...@@ -6,16 +6,18 @@ screen.bgcolor("blue") ...@@ -6,16 +6,18 @@ screen.bgcolor("blue")
P.penup() P.penup()
P.goto(-100,-144) P.goto(-100,-144)
P.write("吾问无为谓......\n吾问无为谓......\n",font=("Times",20,"normal")) P.write("吾问无为谓......\n吾问无为谓......\n",font=("Times",20,"normal"))
len=screen.textinput("提示","多大???")
len1=int(len)
P.hideturtle() P.hideturtle()
p1=turtle.Pen() p1=turtle.Pen()
p1.pensize(10) p1.pensize(10)
p1.pencolor("white") p1.pencolor("white")
p1.left(45) p1.left(45)
p1.forward(len*2) p1.forward(len1*2)
p1.circle(len,180) p1.circle(len1,180)
p1.right(90) p1.right(90)
p1.circle(len,180) p1.circle(len1,180)
p1.forward(len*2) p1.forward(len1*2)
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