Commit 9cd3d745 by BellCodeEditor

save project

parent e197bae3
Showing with 2 additions and 0 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
colors=["red","orange","yellow","green"]
distance=1 distance=1
for i in range(300): for i in range(300):
pen.forward(distance) pen.forward(distance)
pen.pencolor(colors[i%4])
distance+=1 distance+=1
pen.right(121) pen.right(121)
pen.hideturtle() pen.hideturtle()
......
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