結果 : two if conditions in python