結果 : if condition in one line python