Commit c55c278e by BellCodeEditor

save project

parent 12cada51
Showing with 6 additions and 4 deletions
import turtle import turtle
len=100
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("green") screen.bgcolor("green")
pen=turtle.Pen() pen=turtle.Pen()
...@@ -6,10 +7,10 @@ pen.write("我**********你在**我就**",font=("Times",20,"normal")) ...@@ -6,10 +7,10 @@ pen.write("我**********你在**我就**",font=("Times",20,"normal"))
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(len*2)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forward(100) pen.forward(len*2)
pen.hideturtle() pen.hideturtle()
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