Help me in solving RUNCOMPARE problem

My issue

i can’t find what is the mistake in my code

My code

# # cook your dish here
t=int(input())

for i in range(t):
    a=[]
    b=[]
    n=int(input())
    a=input().split()
    b=input().split()
    for k in range(n):
        a[k]=int(a[k])
        b[k]=int(b[k])
    # print(a,b)
    for j in range(n):
        if(a[j]>=2*b[j] and b[j]>=2*a[j]):
            print(j)

Learning course: Arrays using Python
Problem Link: CodeChef: Practical coding for everyone

@mounika6178
t = int(input("Enter the number of test cases: "))

for _ in range(t):
a =
b =
n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))

happy_days = 0  # Variable to count happy days

for j in range(n):
    if a[j] <= 2 * b[j] and b[j] <= 2 * a[j]:
        happy_days += 1

print(happy_days)

Thank you, I thought to print happy days rather than number of happy days … thanks for the response .