結果 : two conditions in if statement in python