Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
The Hamming Distance solution in Clear category for The Hamming Distance by Seaclaid
def checkio(n, m):
one=bin(n)
two=bin(m)
one=one[2:]
two=two[2:]
odp=0
a=abs(len(one)-len(two))
if len(one)>len(two):
two=a*'0'+two
if len(one)
Jan. 14, 2017