Commit 5ee82821 by BellCodeEditor

save project

parent c20f0945
Showing with 19 additions and 0 deletions
import turtle
import random
turtle.hideturtle()
turtle.speed(0)
a=["black","red","blue","purple"]
for i in range(1,600):
turtle.forward(i)
turtle.right(91)
turtle.color(b)
if i%4==0:
b=a.append(0)
if i%4==1:
b=a.append(1)
if i%4==2:
b=a.append(2)
if i%4==3:
b=a.append(3)
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