結果 : if else one line python for loop