Commit 4a428518 by BellCodeEditor

save project

parent a97d4a1c
Showing with 1 additions and 1 deletions
...@@ -10,7 +10,7 @@ pen.hideturtle() ...@@ -10,7 +10,7 @@ pen.hideturtle()
# 画爱心 # 画爱心
len=60 len=60
pen1=turtle.Pen() pen1=turtle.Pen()
len=textinput("提示","你要画多大的爱心?") len=screen.textinput("提示","你要画多大的爱心?")
lovesize=int(len) lovesize=int(len)
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