My issue
please some one help me in this
My code
t = int(input())
for i in range(t):
n = int(input())
a = list(map(int , input().split()))
b = list(map(int , input().split()))
c = max(a)
e =max(b)
d=a.count(c)
f=0
g=0
for k in range(n):
f =b.index(e)
if d==1:
f=a.index(c)
g=a.index(c)+1
elif d!=1:
for j in range(f):
g = b.index(e)+1
print(g)
Learning course: Sorting using Python
Problem Link: CodeChef: Practical coding for everyone