<doocs>0461.Hamming Distance_1.py
def hammingDistance( x: int, y: int) -> int:
    num, count = x ^ y, 0
    while num != 0:
        num &= num - 1
        count += 1
    return count
def sample_funcname ( var_0 : int , var_2 : int ) -> int :
    var_3 , var_5 = var_0 ^ var_2 , 0
    while var_3 != 0 :
        var_3 &= var_3 - 1
        var_5 += 1
    return var_5
