Commit 150747a6 by BellCodeEditor

save project

parent 2adc589b
Showing with 5 additions and 1 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
distance=1
colors=["red","orange","blue","green"]
screen.bgcolor("black")
for distance in range(1,777):
pen .pencolor(colors[distance%4])
pen.right(91)
pen.forward(distance)
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