Input Integer Array
Write a program that takes as input integer arrays and prints the integer arrays
Input Format
The first line contains N, the number of test cases.
The N lines after that contain the test cases
Each test case starts with k, the number of elements in the array
This is followed by k elements of the array
Output Format
Print each array in a single line
Sample Input / Output
Input
3
1 27
5 19 2893 3497 9 876
8 19 2893 890 3497 -293 9 876 -98
Output
27
19 2893 3497 9 876
19 2893 890 3497 -293 9 876 -98
Answers
Answered by
5
Answer:
follow me .............far................fdt
........
Answered by
5
Answer:
#taking n test cases
n=int(input())
#for each test case taking the input in single line
for i in range(n):
l=list(map(int,input().split()))
print(*l[1:]) #printing the output
Explanation:
Similar questions
Math,
4 months ago
Hindi,
4 months ago
Hindi,
10 months ago
English,
10 months ago
Environmental Sciences,
1 year ago