Commit aba6827e by BellCodeEditor

save project

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