Commit 8de93a81 by BellCodeEditor

save project

parent e069ab26
Showing with 6 additions and 6 deletions
import turtle
screen=turtle.Screen()
a=screen.textinput("提示:","大小")
a=int(a)
screen.bgcolor("pink")
pen=turtle.Pen()
pen.pencolor("red")
pen.left(45)
pen.forward(a*2)
pen.circle(a,180)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(a,180)
pen.forward(a*2)
pen.circle(50,180)
pen.forward(100)
turtle.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