Commit 01d28c1f by BellCodeEditor

save project

parent 07858a54
Showing with 14 additions and 0 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput("姓名框","你想要多大的爱心呢?")
love=int(len)
pen1=turtle.Pen()
pen1.left(45)
pen1.forward(love*2)
pen1.circle(love,180)
pen1.right(90)
pen1.circle(love,180)
pen1.forward(love*2)
pen1.hideturtle()
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