Commit 6aaedaff by BellCodeEditor

save project

parent b2193361
Showing with 15 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.goto(100,-100)
aixin=screen.textinput("画爱心","你要多大")
len=int(aixin)
pen.pencolor("green")
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
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