Write a program to display the multiplication table of a number


Topic: Write a program to display the multiplication table of a number

Solution

num = int(input("Show the multiplication table of? "))  
for i in range(1,11):  
   print(num,'x',i,'=',num*i)  
   



List all Python Programs