Help me in solving CONVERT problem

My issue

can we carry out the same operation agan and again if we are choosing two different indices

My code

# cook your dish here
t1 = int(input())
for val in range(t1):
    n, k = map(int,input().split())
    s = input()
    t = input()
    a = "NO"
    score = 0
    for i in range(n):
        if (s[i] != t[i]):
            score += 1
            
    if (score % 2 == 1):
        pass
    
    else: 
        if (n == 2):
            if (k > 1):
                pass
            
        elif (score/2 <= k):
            a = "YES"
    
    print(a)
        

Problem Link: Binary Conversion Practice Coding Problem

@ynj0605
your code is failing for the test case
2 2
0 0
0 0
ans should be yes but your code print no.

Thank you :+1: