Help me in solving GS11 problem

help

My code

``````# Update the '_' in the code below

#accept the count of testcases given in the the 1st line
t = int(input())
#run a loop to accept 't' testcases
for i in range(t):
#accept 2 integers on the 1st line of each test case
A, B = map(int, input().split())
#accept 1 string on the 2nd line of each test case
C = map(int,input().split())
#output the 2 integers and 1 string on a single line for each test case
print(A, B, C)
``````

Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

@r2021101293
U have to do it like this

``````# Solution as follows

#accept the count of testcases given in the the 1st line
t = int(input())
#run a loop to accept 't' testcases
for i in range(t):
#accept 2 integers on the 1st line of each test case
A, B = map(int,input().split())
#accept 1 string on the 2nd line of each test case
C = input()
#output the 2 integers and 1 string on a single line for each test case
print(A, B, C)
``````