Python3 program to find the Maximum distance between two 1 's in Binary representation of N
def longest_gap ( N ) : NEW_LINE INDENT distance = 0 NEW_LINE count = 0 NEW_LINE first_1 = - 1 NEW_LINE last_1 = - 1 NEW_LINE DEDENT