結果 : implement the binary search algorithm in python