I am getting run Error

I TRIED A LOT! PLS HELP

Dang! You couldn’t score a perfect 100 because you failed one or more test cases. This means that your program didn’t account for all input cases (did you account for negative numbers, for example?).

def merge(a, b):
c = []
a_indx, b_indx = 0, 0,
while a_indx < len(a) and b_indx < len(b):
if a[a_indx] < b[b_indx]:
c.append(a[a_indx])
a_indx += 1
else:
c.append(b[b_indx])
b_indx += 1

if a_indx == len(a):
    c.extend(b[b_indx:])
else:
    c.extend(a[a_indx:])

return c

def merge_sort(a):

if len(a) <= 1:
    return a

left, right = merge_sort(a[:len(a)//2]), merge_sort(a[len(a)//2:])

return merge(left, right)

N = int(input())
str_arr = input()
arr = list(map(int, str_arr.split(" “)))
a = merge_sort(a=arr)
for i in a:
print(i, end =” ")

hey @june1521996 ,
Sorry to be so late in replying you.
There is a small logic problem due to which you aren’t able to pass the testcases .
Kindly wait until i check the code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.