結果 : code for genetic algorithm in python