結果 : how to exit from if else in python