Write a program to print table of a number entered by user In python
Answers
Answered by
2
Answer:
number = int(input ("Enter the number of which the user wants to print the multiplication table: "))
count = 1.
we are using a while loop for iterating the multiplication 10 times.
print ("The Multiplication Table of: ", number)
while count <= 10:
number = number * 1.
print (number, 'x', i, '=', number * count)
Similar questions