Commit 42d99432 by BellCodeEditor

save project

parent 6415b848
Showing with 2 additions and 1 deletions
import turtle as t import turtle as t
import random
color=["red","blue","pink","green"] color=["red","blue","pink","green"]
t.speed(0) t.speed(0)
t.bgcolor("black") t.bgcolor("black")
for i in range(300): for i in range(300):
t.forward(i) t.forward(i)
t.right(91) t.right(91)
t.pencolor(color[i%4]) t.pencolor(random.choice(color))
t.done() t.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