結果 : if statement on one line python