Owes Shubho

Ten multiplication table using python

Here is the simple loop for creating ten multiplication table using the python programming language.

#10 X 10 multiplication table
for i in range(1,11):
    print('{:<3}|'.format(i),end="")
    for  j in range(1,11):
        print('{:>4}'.format(i * j),end="")
    if i == 1:
        print('\n{:#^44}'.format(""),end="")
    print("")

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *