Commit cf094856 by BellCodeEditor

save project

parent 4d9e7d58
Showing with 2 additions and 1 deletions
...@@ -10,7 +10,8 @@ pen.write("Hi,诺依~/n用Python电子贺卡真是太有趣啦~\n我也喜欢P ...@@ -10,7 +10,8 @@ pen.write("Hi,诺依~/n用Python电子贺卡真是太有趣啦~\n我也喜欢P
penl=turtle.Pen() penl=turtle.Pen()
penl.pencolor("red") penl.pencolor("red")
penl.pensize(5) penl.pensize(5)
len=60 lovesize=screen.textinput("提示",'你想要多大的爱心呀')
len=int(lovesize)
penl.left(45) penl.left(45)
penl.forward(2*len) penl.forward(2*len)
penl.circle(len,180) penl.circle(len,180)
......
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