Commit fd0f280b by BellCodeEditor

save project

parent 120470ac
Showing with 6 additions and 0 deletions
import turtle import turtle
pen =turtle.Pen() pen =turtle.Pen()
d = 1 d = 1
color = ["red","blue","green","yellow"]
pen.speed()
for i in range (300): for i in range (300):
pen.color(color[i%4])
pen.forward(d) pen.forward(d)
pen.right(91) pen.right(91)
d += 1 d += 1
pen.color(color[i%4])
turtle.done() 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