結果 : how to exit if condition in python