📅  最后修改于: 2022-03-11 14:46:11.180000             🧑  作者: Mango
# from your definition, population is a tuple.
# I'd suggest two options, the first is converting it to an array,
# i.e.
population = np.asarray(population)