Commit 45945760 by BellCodeEditor

save project

parent 3fd1b994
Showing with 4 additions and 10 deletions
import turtle j = 3
pen = turtle.Pen() i = 5
colors=["red",'yellow',"orange",'green'] print(j,'*'i,"=",(j * i))
for i in range(1,300): \ No newline at end of file
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
turtle.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