Commit 21a50ed1 by BellCodeEditor

save project

parent 29fe764f
Showing with 4 additions and 2 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor(blake) screen.bgcolor("black")
colors=["red" "orange" "yellow" "blue"] colors=["red" ,"orange", "yellow", "blue"]
pen.speed(0) pen.speed(0)
for i in range(0,60): for i in range(0,60):
pen.forward(i) pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
pen.done() pen.done()
\ 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