Commit 9cc8c4ff by BellCodeEditor

save project

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