Commit 1f00f033 by BellCodeEditor

auto save

parent d96c16fc
Showing with 3 additions and 2 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.shape("turtle")
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
colors=["red","yellow","blue"] colors=["red","yellow","blue","green"]
for i in range(1,800): for i in range(1,800):
pen.pencolor(colors[i%3]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
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