結果 : manhattan distance function python