結果 : python write if condition in one line