結果 : checking two conditions in if python