Python Program to Print Table of a Given Number
- This is a Python Program to print the table of a given number.
Problem Solution
- Take in a number and store it in a variable.
- Print the multiplication tables of a given number.
- Exit.
Source Code
n=int(input("Enter the number to print the tables for:"))
for i in range(1,11):
print(n,"*",i,"=",n*i)