Commit 3b9e49f5 by BellCodeEditor

save project

parent f3e2d9be
Showing with 4 additions and 14 deletions
import turtle i=3
pen=turtle.Pen() j=5
screen=turtle.Screen() print(j,"*",i,"=",(j*i))
screen.bgcolor("black") \ No newline at end of file
colors=["green","red","yellow","orange"]
#
for i in range(1,300):
pen.color(colors[i%4])
pen.forward(i)
#distance+=1
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