Commit 0c6de07f by BellCodeEditor

save project

parent 8a53b2af
Showing with 7 additions and 4 deletions
import turtle import turtle
colors=["red","orange","yellow","green"] colors=["red","orange","yellow","green","cyan","blue","violet","white"]
pen=turtle.Pen() pen=turtle.Pen()
pen.speed(1000) screen=turtle.Screen()
pen.speed(10000)
for i in range(1,3000): for i in range(1,3000):
pen=pencolor(colors=[1%4]) screen.bgcolor(colors[i%8])
pen.pencolor(colors[i%8])
pen.forward(i) pen.forward(i)
pen.right(120.1) pen.right(45.5)
pen.hideturtle() pen.hideturtle()
turtle.done() 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