Commit 29f22d5a by BellCodeEditor

auto save

parent 3ce31792
Showing with 25 additions and 0 deletions
import turtle
turtle.pencolor("orange")
turtle.fillcolor('yellow')
turtle.begin_fill()
for i in range(20):
for j in range(4):
turtle.forward(100)
turtle.right(90)
turtle.right(18)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","blue","yellow","green"]
pen.speed(1000)
for i in range(1,800):
pen.color(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
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