code: def make_population(population_size, solution_generator, *args, **kwargs):
      
      return [
          solution_generator(*args, **kwargs) for _ in range(population_size)
      ]
docs: Make a population with the supplied generator.