Commit 2b61af40 by BellCodeEditor

save project

parent c308ff95
Showing with 4 additions and 11 deletions
import turtle j=1
pen=turtle.Pen() i=5
colors=["red","yellow","green","blue"] print(j,"*",i,"=",(j*i))
pen.speed(1000) \ No newline at end of file
for i in range(1,300):
pen.pencolor(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