Python Program to print table of any number
In this program, You will learn how to print a table of any number in Python.
14 28 42 56 70 84 98 112 126 140
Example: How to print a table of any number in Python.
x = int(input("Enter a number:"))
for a in range(1, 11):
print(x * a)
Output:
Enter a number:5
5
10
15
20
25
30
35
40
45
50