Here is the simple loop for creating ten multiplication table using the python programming language.
1 2 3 4 5 6 7 8 |
#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("") |