store_array = list()
test_case = input()
for i in range(int(test_case)) :
number1 = input()
number2 = input()
store_array.append(int(number1))
store_array.append(int(number2))
j=0
def add(x,y):
for j in store_array:
return x + y
j=j+1
print(add(store_array[j],store_array[j+1]))
what I ve done so far?
testcase - > 2
2 2 3 3
these values are stored in the list under the name store_array
it executes and print the first two values 2 2 and the output 4 will be displayed
how can i step over to next two values and print the consecutives other two input?