Commit 8faa42e2 by BellCodeEditor

save project

parent 29d96470
Showing with 7 additions and 5 deletions
......@@ -9,11 +9,12 @@ pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
l=110
l=sc.textinput('HHHH',"请你提出爱心大小")
h=int(l)
pen1.left(45)
pen1.forward(2*l)
pen1.circle(l,180)
pen1.forward(2*h)
pen1.circle(h,180)
pen1.right(90)
pen1.circle(l,180)
pen1.forward(2*l)
pen1.circle(h,180)
pen1.forward(2*h)
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