Commit b10dbe64 by BellCodeEditor

save project

parent 7cdff39e
Showing with 1 additions and 3 deletions
...@@ -9,9 +9,8 @@ pen.write("1111",font=("Times",30,"normal")) ...@@ -9,9 +9,8 @@ pen.write("1111",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red") pen1.pencolor("red")
o=screen.textinput("提示框","你想要多大的爱心")
i=int(o) i=100
pen1.pensize(5) pen1.pensize(5)
pen1.left(45) pen1.left(45)
pen1.forward(2*i) pen1.forward(2*i)
...@@ -25,4 +24,3 @@ turtle.done() ...@@ -25,4 +24,3 @@ turtle.done()
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