Commit 7125c044 by BellCodeEditor

save project

parent 641d24ee
Showing with 7 additions and 5 deletions
......@@ -10,12 +10,13 @@ penSB.write("Hi,诺伊~\n用python写贺卡真是忒有趣了啦~\n我也喜欢p
penSB.hideturtle()
penSB1.pencolor("red")
penSB.pensize(5)
len=61
len=screen.textinput("提示","你想要多大的心呀?")
lovesize=int(len)
penSB1.left(45)
penSB1.forward(2*len)
penSB1.circle(len,180)
penSB1.forward(2*lovesize)
penSB1.circle(lovesize,180)
penSB1.right(90)
penSB1.circle(len,180)
penSB1.forward(2*len)
penSB1.circle(lovesize,180)
penSB1.forward(2*lovesize)
penSB1.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