結果 : python check second condition only if first is true