Problem:-
Given N numbers in the input. Print these numbers in the same order as they come in input.
Input:
First line contains integer N - denoting total count of numbers that are to be printed.
Second line contains N space separated integers.
Output:
Print the numbers in input.
Constraints:
1 <= N <= 100
Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation
Simply all integers are printed.
Code:-
n=int(input())
m=input().split()
for i in m:
print(i,end=" ")
1 Comments
After a long time, I read a very beautiful and very important article that I enjoyed reading. I have found that this article has many important points, I sincerely thank the admin of this website for sharing it. Best packet tracer service provider.
ReplyDelete