Commit c327555c by BellCodeEditor

save project

parent 3ce31792
Showing with 15 additions and 0 deletions
import turtle
q=turtle.Pen()
w=turtle.Screen()
q.speed(0)
w.bgcolor("black")
'''q.bgcolor("light pink")'''
colors=["red","orange","yellow","cyan","blue","purple","green"]
u=1
for i in range(1,1000,1):
q.pencolor(colors[i%7])
q.forward(i)
q.right(900/7)
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