Commit 323956ca by BellCodeEditor

save project

parent 75cff0df
Showing with 3 additions and 1 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
len=100
a=screen.textinput("姓名框","你想要的爱心大小是")
len=int(a)
pen.penup()
pen.goto(100,-100)
pen.pendown()
......@@ -14,6 +15,7 @@ pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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