#NEWLINE# def print_next_same_1s( num ) : #NEWLINE# #INDENT# n1s = find_num_1s ( num ) #NEWLINE# i = ( num + 1 ) #NEWLINE# while True : #NEWLINE# #INDENT# n1s_here = find_num_1s ( i ) #NEWLINE# if ( n1s_here == n1s ) : #NEWLINE# #INDENT# return bin ( i ) #NEWLINE# #UNINDENT# i += 1 #NEWLINE# if ( i < 0 ) : #NEWLINE# #INDENT# return None