結果 : how to break a recursive function in python