#NEWLINE# def custom_observer( population , num_generations , num_evaluations , args ) : #NEWLINE# #INDENT# best = max ( population ) #NEWLINE# print ( 'Generations: {0}  Evaluations: {1}  Best: {2}' . format ( num_generations , num_evaluations , str ( best ) ) )