結果 : one line if else python for loop