dictionary 中包list dict={} dict[key]=list() dict[key].append(value) 2.1). 新增資料前先檢查有沒有key if key not in dict: dict[key] = list ...
確定! 回上一頁