Commit 251e7223 by BellCodeEditor

save project

parent 5a79868e
Showing with 8 additions and 5 deletions
......@@ -6,14 +6,16 @@ pen.penup()
pen.goto(100,-100)
pen.write("fjried\n rkrlot",font=("Times",18,"normal"))
pen.hideturtle()
len=30
pen1=turtle.Pen()
len=screen.textinput("姓名框","你想要多大的爱心呢?")
lone=int(len)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(len*2)
pen1.circle(len,180)
pen1.forward(lone*2)
pen1.circle(lone,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.circle(lone,180)
pen1.forward(lone*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