Administrator
发布于 2026-06-17 / 0 阅读
0
0

01-数据容器

数据容器:一种可以存储多个元素的python数据类型。

每一个元素,可以是任意类型的数据,如字符串、数字、布尔等。

  1. list: 列表 []
  2. tuple: 元组 ()
  3. str: 字符串 “”
  4. set: 集合 {}
  5. dict: 字典

评论