Commit 7981489d by BellCodeEditor

save project

parent 73d5215d
Showing with 5 additions and 2 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pencolor(red): screen.bgcolor("black")
yanhaochen = ['red','orange','black','yellow']
screen = turtle.Screen()
for i in range(1,300): for i in range(1,300):
pen.forward(i) pen.forward(yanhaochen[i%4])
pen.right(91) pen.right(91)
tuple.hidetutle() tuple.hidetutle()
tuple.done() tuple.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