Commit 6fc1633e by BellCodeEditor

save project

parent 1c806b98
Showing with 5 additions and 2 deletions
......@@ -4,8 +4,11 @@
"""
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.speed(100)
for i in range(1,300):
color=["red","green","yellow","black"];
for i in range(1,300):
pen.pencolor(color[i%4])
pen.forward(i)
pen.right(91)
pen.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