結果 : how to write binary search in python