My issue
what is wrong with my code
My code
# cook your dish here
t=int(input())
for i in range(t):
n=int(input())
O=list(map(int,input().split()))
A=list(map(int,input().split()))
OS=[]
AS=[]
for i in range(n):
if O[i]>0:
OS.append(O[i])
else:
OS.clear()
if A[i]>0:
AS.append(A[i])
else:
AS.clear()
Ocount=len(OS)
Acount=len(AS)
if (Acount>Ocount):
print("ADDY")
elif (Acount==Ocount):
print("DRAW")
else:
print("OM")
Learning course: Arrays using Python
Problem Link: Practice Problem in - CodeChef