結果 : how to implement genetic algorithm in python