tuple =(1,2,3,4,5) n=len(tuple) tuple.append(6)//使用append改變元素會發生錯誤. 元組的優點. 執行速度比串列快. 元組的資料較為安全.
確定! 回上一頁