Commit d8b76eb7 by BellCodeEditor

save project

parent a50ceeec
Showing with 15 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor('light blue')
big=screen.textinput('大小','多大?')
len=int(big)
pen.pensize(5)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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