Commit 37782a88 by BellCodeEditor

save project

parent f2edfb71
Showing with 8 additions and 4 deletions
......@@ -2,12 +2,15 @@
import turtle
pen=turtle.Pen()
len=60
screen=turtle.Screen()
len=screen.textinput("警告!","快说")
a=int(len)
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.forward(2*a)
pen.circle(a,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.circle(a,180)
pen.forward(2*a)
pen.done()
\ No newline at end of file
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