Commit 9a0edd70 by BellCodeEditor

save project

parent 836cba06
Showing with 18 additions and 0 deletions
import turtle
pen=turtle.Pen()
a=int(screen.textinput("提示","你要多大的风车"))
for i in range(1,56):
pen.forward(a)
pen.right(89)
a=a+1
pen.forward(a)
pen.right(89)
a=a+1
pen.forward(a)
pen.right(89)
a=a+1
pen.forward(a)
pen.right(89)
a=a+1
pen.hideturtle()
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