Q: How to get stdout instead of debug output? def getElements(arr, queries):
    size = arr[0]
    newarray = []
    subarray = []

    for i in range(1, len(arr)):
        subarray.append(arr[i])
        if(i % size == 0):
            newarray.append(subarray)
            subarray = []
    print("results are :")
    for q in queries:
        print((newarray[q[0] - 1])[q[1] - 1])
    
n = int(input())
arr = []
for i in range(n):
    arr.append(int(input()))
queries = [[3, 2], [2, 1]]
getElements(arr, queries)
            

The output is 10 and 5, which is correct in my code, but I dont know how to get it as a normal output instead of debug output.
