Commit fbac2005 by BellCodeEditor

save project

parent ac62a31a
Showing with 6 additions and 4 deletions
...@@ -4,16 +4,18 @@ import turtle ...@@ -4,16 +4,18 @@ import turtle
# pen.write("你好",font=("Times",20,"normal")) # pen.write("你好",font=("Times",20,"normal"))
# pen.hideturtle() # pen.hideturtle()
# turtle.done() # turtle.done()
screen1=100
pen1=turtle.Pen() pen1=turtle.Pen()
turtle.left(45) turtle.left(45)
turtle.forward(100) turtle.forward(screen1*2)
turtle.circle(50,180) turtle.circle(screen1,180)
turtle.right(90) turtle.right(90)
turtle.circle(50,180) turtle.circle(screen1,180)
turtle.forward(100) turtle.forward(screen1*2)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
pen1.hideturtle() pen1.hideturtle()
turtle.done() 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