Commit 1f1f01f8 by BellCodeEditor

save project

parent 682bdfa3
Showing with 13 additions and 1 deletions
import turtle
p1 = turtle.Pen()
s1 = turtle.Screen()
s1.bgcolor("black")
p1.color("red")
for i in range(360):
if(i%4 == 1):
p1.color("red")
if(i%4 == 2):
p1.color("orange")
if(i%4 == 3):
p1.color("yellow")
if(i%4 == 0):
p1.color("green")
p1.forward(i)
p1.right(91)
p1.hideturtle()
turtle.down()
\ 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