Commit 8a564d17 by BellCodeEditor

save project

parent c172b39e
Showing with 4 additions and 1 deletions
import turtle import turtle
colors=["red","orange","yellow","green"]
pen=turtle.Pen() pen=turtle.Pen()
scr=turtle.Screen()
scr.bgcolor("pink")
for i in range(300): for i in range(300):
pen.color(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
......
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