簡單看看Python 中的List 和Tuple List l = [] print(l,l.__sizeof__()) # l 初始化40字節l.append(1) # 增加一個元素後,(注意,這裏是append之後,)
確定! 回上一頁