顛倒輸入的字串(reverse in Python and Ruby) ... 若元素字數為偶數,則將元素內容反轉並存入新的空白陣列 if i.size % 2 == 0 weird.push(i.reverse)
確定! 回上一頁