Commit 3a450d9e by BellCodeEditor

save project

parent 073b6bc8
Showing with 17 additions and 15 deletions
#import turtle
#pen = turtle.Pen()
#screen = turtle.Screen()
#screen.bgcolor("black")
#pen.speed(0.5)
#c=["red","blue","yellow","green","white","grey","brown","purple","pink"]
#for i in range(350):
#pen.forward(i)
#pen.right(91)
#pen.pencolor(c[i%9])
#pen.hideturtle()
#turtle.done()
# import turtle
# pen = turtle.Pen()
# screen = turtle.Screen()
# screen.bgcolor("black")
# pen.speed(0.1)
# c=["red","blue","yellow","green","white","grey","brown","purple","pink"]
# for i in range(350):
# pen.forward(i)
# pen.right(91)
# pen.pencolor(c[i%9])
# pen.hideturtle()
# turtle.done()
a=1
for i in range(1,10):
print(a,'*',i,'=',(a*i),end=" ")
for a in range(1,10):
for i in range(1,a+1):
print(a,'*',i,'=',(a*i),end=" ")
print()
\ 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