結果 : how to make search algorithm in python