Commit da178b13 by BellCodeEditor

save project

parent 25bd1eb4
Showing with 2 additions and 1 deletions
...@@ -7,6 +7,7 @@ pen.write("hi\nhi\n悟空",font=("Times",50,"normal")) ...@@ -7,6 +7,7 @@ pen.write("hi\nhi\n悟空",font=("Times",50,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
screen.textinput("画爱心""请输入爱心的大小:")
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(130) pen1.forward(130)
...@@ -18,4 +19,3 @@ pen1.hideturtle() ...@@ -18,4 +19,3 @@ pen1.hideturtle()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
turtle.done() turtle.done()
\ No newline at end of file
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