def schaffer_mo(individual):
 return ((individual[0] ** 2), ((individual[0] - 2) ** 2))

def schaffer_mo ( individual ) : return ( ( individual [ 0 ] ** 2 ) , ( ( individual [ 0 ] - 2 ) ** 2 ) )
schaffers multiobjective function on a one attribute *individual* .