Python 的資料儲存容器,可以分為tuple、串列(list)、字典(dict)與集合(set)四種,每一種結構都有其適合使用的 ... print('購物清單shoplist的長度為', len(shoplist)).
確定! 回上一頁