We will use nested for loop to generate multiplication tables.
Multiplication table in Python using nested for loops and using user input
Example 1
rows=10 # Multiplication table up to 10
columns=10 # column values
for i in range(1,rows+1):
for j in range(1,columns+1):# inner for loop
c=i*j
print("{:2d} ".format(c),end='')
print("\n") # line break