My issue
My code
# The code below is incorrect. Debuf this code to solve the problem.
t = int(input())
for i in range(t):
n = int(input())
S = input()
R = input()
count = 0
for i in range(n):
if S[i]==R[i]:
count = count + 1
if count%2==1:
print(1)
else:
print(0)
Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone