Convert integer i to binary string
p = " " NEW_LINE j = i NEW_LINE while ( j > 0 ) : NEW_LINE INDENT p += str ( j % 2 ) NEW_LINE j = j // 2 NEW_LINE DEDENT m = len ( p ) NEW_LINE n = len ( s ) NEW_LINE p = p [ : : - 1 ] NEW_LINE