Home >>Python Programs >Write a python program to display the multiplication table
In this example, we will see a Python program to display the multiplication table of any given input number. This program will display the multiplication table from 1 to 10 according to the user input.
Example :
num = int(input("Show the multiplication table of? "))
# using for loop to iterate multiplication 10 times
for i in range(1,11):
print(num,'x',i,'=',num*i)