Commit 51c08365 by BellCodeEditor

save project

parent 624183de
Showing with 4 additions and 3 deletions
import turtle import turtle
turtle.speed(20) color=['red','blue','orange','green']
for i in range(300): for i in range(300):
turtle.pencolor(color[i%4])
turtle.forward(i) turtle.forward(i)
turtle.right(91) turtle.right(91)
turtle.done() turtle.done
\ No newline at end of file \ 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