python数据类型

python3 有6个标准数据类型

不可变数据:

  • Number

  • String

  • Tuple

可变数据:

  • List

  • Set

  • Dictionary

Number

  • int

  • float

  • bool

  • complex

可以用type() 查看变量所指的对象类型

posted @ 2018-10-26 23:07  李斌libinyl的博客  阅读(120)  评论(0编辑  收藏  举报