Commit 2947a182 by BellCodeEditor

save project

parent 11f799fd
Showing with 5 additions and 1 deletions
......@@ -4,7 +4,11 @@
"""
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","green","yellow","orange"]
for i in range(3,300):
pen.color(colors[i%4])
pen.forward(i)
pen.right(91)
turtle.dong()
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