Commit 09ac1125 by BellCodeEditor

save project

parent ffb723cc
Showing with 8 additions and 17 deletions
"""
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen = turtle.Pen() pen=turtle.Pen()
screen = turtle.Screen() pen.speed(100)
screen.bgcolor("light pink")
colors=["white","blue","violet","red"]
distance=1
pen.speed(1000)
for i in range(1,300): for i in range(1,300):
pen.pencolor(colors[i%4]) pen.fd(i)
pen.forward(i) pen.rt(91)
pen.right(91)
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.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