Commit 3ab6e624 by BellCodeEditor

save project

parent 606b6763
Showing with 11 additions and 9 deletions
...@@ -11,14 +11,17 @@ pen.goto(0,-100) ...@@ -11,14 +11,17 @@ pen.goto(0,-100)
pen.pendown() pen.pendown()
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
pen.left(45)
pen.forward(4*t)
pen.circle(2*t,180)
pen.right(90)
pen.circle(2*t,180)
pen.forward(4*t)
pen.penup()
w=screen.textinput("名字","大小")
int(w)
e=int(w)
turtle.done() pen.left(45)
\ No newline at end of file pen.forward(4*e)
pen.circle(2*e,180)
pen.right(90)
pen.circle(2*e,180)
pen.forward(4*e)
pen.penup()
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