Commit 3c95f259 by BellCodeEditor

save project

parent 2a4f8865
Showing with 7 additions and 6 deletions
......@@ -12,16 +12,16 @@ import turtle
pen1=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
pen1.color("black")
pen1.color("red")
pen1.pensize(8)
len=screen.textinput("提示"你想要多大的爱心啊啊啊?")
len=screen.textinput("提示","你想要多大的爱心啊啊啊")
lovesize=int(len)
pen1.left(45)
pen1.forward(len)
pen1.circle(len/2,180)
pen1.forward(lovesize)
pen1.circle(lovesize/2,180)
pen1.right(90)
pen1.circle(len/2,180)
pen1.forward(len/2)
pen1.circle(lovesize/2,180)
pen1.forward(lovesize)
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