Commit e64295aa by BellCodeEditor

save project

parent 83fae571
Showing with 26 additions and 3 deletions
...@@ -3,10 +3,32 @@ ...@@ -3,10 +3,32 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolor("red") pen.fillcolor("black")
pen.begin_fill() pen.begin_fill()
for i in range(720): for i in range(360):
pen.forward(1.5)
pen.right(1)
pen.end_fill()
for i in range(360):
pen.forward(1) pen.forward(1)
pen.right(0.5) pen.right(1)
pen.penup()
pen.forward(300)
pen.pendown()
pen.fillcolor("black")
pen.begin_fill()
for i in range(360):
pen.forward(1.5)
pen.right(1)
pen.end_fill() pen.end_fill()
for i in range(360):
pen.forward(1)
pen.right(1)
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