Commit 15cacc6a by BellCodeEditor

save project

parent 9c6f0b9b
Showing with 6 additions and 4 deletions
......@@ -21,6 +21,7 @@ import turtle
# pen.forward(2*len)
# turtle.done()
pen=turtle.Pen()
len=200
screen=turtle.Screen()
screen.bgcolor("blue")
pen.penup()
......@@ -31,10 +32,10 @@ pen.pensize(5)
pen.pencolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(len)
pen.circle(len/2,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len/2,180)
pen.forward(len)
pen.end_fill()
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