在Python 3中,有6种标准的数据类型:Number(数字)、String(字符串)、List(列表)、Tuple(元组)、Set(集合)、Dictionary(字典),见表2-2。
Python 3中支持3种不同的数值类型,包括int(整型)、float(浮点型)、complex(复数)。int通常被称为整型/整数,取值为正整数或负整数。
搜索
复制
<iframe></iframe>
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/281151.html