Commit 08ab54c5 by BellCodeEditor

save project

parent ad2ae657
Showing with 6 additions and 4 deletions
import turtle import turtle
pen=turtle.pen() pen=turtle.pen()
screen=turtle.Screen()
screen=bgcolor("black")
colors=["green","red","blue","yellow"]
distance=1 distance=1
for i in range(500) for i in range(1,500)
pen.forward(distance) pen.pencoior(colors[1%4])
pen.forward(input())
pen.right(91) pen.right(91)
distance+=1
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