Commit 7bfa6b75 by BellCodeEditor

save project

parent 497036eb
Showing with 2 additions and 2 deletions
...@@ -2,7 +2,7 @@ import turtle ...@@ -2,7 +2,7 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
r=int(screen.textinput("你想要多大的爱心啊","提示")) r=int(screen.textinput("你想要多大的爱心啊","提示"))
screen.bgcolor("green") screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
...@@ -10,7 +10,7 @@ pen.write("你好",font=("Times",13, "normal")) ...@@ -10,7 +10,7 @@ pen.write("你好",font=("Times",13, "normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("bule") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(2*r) pen1.forward(2*r)
pen1.circle(r,180) pen1.circle(r,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