Question #282827

Write a program to print table of a number using loop. Take the number from the user.

Expert's answer

user = int(input("Enter the number for which you wanna get the table: "))
print("The table for", user, "is here")


for i in range(0, 11):
   
    print(user, '*', i, '=', user*i)
LATEST TUTORIALS
APPROVED BY CLIENTS