結果 : how to break an if else statement in python