結果 : python compact if else statement