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)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS