Commit e6790a47 by BellCodeEditor

save project

parent 07dc1713
Showing with 2 additions and 1 deletions
...@@ -3,6 +3,8 @@ Pen=turtle.Pen() ...@@ -3,6 +3,8 @@ Pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("green") screen.bgcolor("green")
len=screen.textinput("你好","你想要多大的爱心?")
len=int(len)
Pen.penup() Pen.penup()
Pen.goto(100,-100) Pen.goto(100,-100)
Pen.write("你好\n鲁尔一天\n看是否合同",font=("Time",20,"normal")) Pen.write("你好\n鲁尔一天\n看是否合同",font=("Time",20,"normal"))
...@@ -10,7 +12,6 @@ Pen.hideturtle() ...@@ -10,7 +12,6 @@ Pen.hideturtle()
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
len=80
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
pen.circle(len,180) pen.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