Problem:-
This is an easy problem.
All you need to do is to print the first 10 multiples of the number given in input.
Input:
An integer N, whose first 10 multiples need to be printed.
Output:
First 10 multiples of number given in input
Constraints:
1 <= N <= 5000
Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation
Here N = 3.
So first 10 multiples of 3 have to be printed.
Code:-
n=int(input())
for i in range(1,11):
print(n*i)
0 Comments