Header Ads Widget

Print the Numbers using python

 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

Sample Input
5
56 30 3 94 58 
Sample Output
56 30 3 94 58 
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=" ")




Post a Comment

1 Comments

  1. 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