Commit aba6827e by BellCodeEditor

save project

parent c40677d0
Showing with 5 additions and 14 deletions
import turtle i=1
pen =turtle.Pen() for i in range(1,10):
d = 1 for j in range(1,i+1):
color = ["red","blue","green","yellow"] print(j,"*",i,"=",(i*j),end=" ")
pen.speed() print()
for i in range (300):
pen.color(color[i%4])
pen.forward(d)
pen.right(91)
d += 1
pen.color(color[i%4])
turtle.done()
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