转自:https://www.runoob.com/python3/python3-data-type.html

标准数据类型

Python3 中有六个标准的数据类型:

  • Number(数字) Python3 支持 int、float、bool、complex(复数)
  • String(字符串)
  • List(列表)
  • Tuple(元组)
  • Set(集合)
  • Dictionary(字典)

Python3 的六个标准数据类型中:

  • 不可变数据(3 个):Number(数字)、String(字符串)、Tuple(元组);
  • 可变数据(3 个):List(列表)、Dictionary(字典)、Set(集合)。

相关文章:

  • 2021-10-04
  • 2021-12-13
  • 2021-10-09
猜你喜欢
  • 2022-12-23
  • 2021-11-06
  • 2022-01-12
相关资源
相似解决方案