Commit 7d99ec43 by BellCodeEditor

save project

parent 075be002
Showing with 3 additions and 2 deletions
import turtle import turtle
...@@ -8,7 +8,8 @@ pen.goto(-100,-100) ...@@ -8,7 +8,8 @@ pen.goto(-100,-100)
pen.write("你好,python真是太好用了!",font=("times",14,"normal")) pen.write("你好,python真是太好用了!",font=("times",14,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 lovesize=screen.textinput("提示","你想要多大的爱心:")
len=int(lovesize)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
......
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