Commit ada566ff by BellCodeEditor

save project

parent 9a422910
Showing with 4 additions and 0 deletions
...@@ -11,11 +11,14 @@ b.hideturtle() ...@@ -11,11 +11,14 @@ b.hideturtle()
c = turtle.Pen() c = turtle.Pen()
c.pensize(5) c.pensize(5)
c.pencolor("red") c.pencolor("red")
c.fillcolor("light blue")
c.begin_fill()
c.left(45) c.left(45)
c.forward(2*a) c.forward(2*a)
c.circle(a,180) c.circle(a,180)
c.right(90) c.right(90)
c.circle(a,180) c.circle(a,180)
c.forward(2*a) c.forward(2*a)
c.end_fill()
turtle.done() turtle.done()
c.hideturtle() c.hideturtle()
\ 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