Commit 15061dc5 by BellCodeEditor

save project

parent c738c89c
Showing with 3 additions and 2 deletions
......@@ -10,10 +10,11 @@
# pen.right(90)
# pen.circle(50,180)
# # pen.forward(100)
len=60
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
len=screen.textinput("姓名框","你要多大的心")
len=int(len)
screen.bgcolor("red")
# pen.penup()
pen.pensize(20)
......@@ -23,7 +24,7 @@ pen.forward(len)
pen.circle(len/2,180)
pen.right(90)
pen.circle(len/2,180)
pen.forward(100)
pen.forward(len)
pen.goto(-100,0)
pen.write("456",font=("Times",30,"normal"))
pen.hideturtle()
......
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