Write a python program to print table of a given number.

 code:-

num=int(input(“Enter number of which you want table”))
for i in range(1,11):
print(num*i)

Output:-

Enter number of which you want table3
3
6
9
12
15
18
21
24
27
30



Leave a Reply

Your email address will not be published.