Python 中自帶reverse()函式,可以處理列表的反轉,來看示例: ... #return ''.join(string[len(string) - i] for i in range(1, len(string) 1)) ...
確定! 回上一頁