結果 : two if statements in python