Write a python program to generate the table of any number using for loop. (number should be taken as an input from the user)
Answers
Answered by
2
Explanation:
num=input("Enter the number for multiplication table: ");
#get input from user
#use for loop to iterates 1 times
for i in range(1,11):
print(num,'x',i,'=',num*i) #for display multiplication table
Similar questions