Q. Write a program to input a number and print its first five multiples.


You can understand by Watching video :-



Answer :-

a = int(input("Enter a number = "))
print(a)
print(a*2)
print(a*3)
print(a*4)
print(a*5)

Output :-

Enter a number = 2
2
4
6
8
10

>>> 

Enter a number = 10
10
20
30
40
50

>>>

1 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post