結果 : how to break recursive function in python