Commit d202e73e by BellCodeEditor

save project

parent be039194
Showing with 2 additions and 2 deletions
...@@ -7,10 +7,10 @@ pen.penup() ...@@ -7,10 +7,10 @@ pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好,\n我是你爸.",font=("Times",30,"normal")) pen.write("你好,\n我是你爸.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
len=screen.textinput("提示""你想要多大的爱心?") len=screen.textinput("提示","你想要多大的爱心?")
lovesize=int(len) lovesize=int(len)
pen1.left(45) pen1.left(45)
pen1.forward(2*lovesize) pen1.forward(2*lovesize)
......
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