摘要:
Python入门示例系列11 数据类型 标准数据类型 Python 3 中有六个标准的数据类型: Number(数字) String(字符串) List(列表) Tuple(元组) Set(集合) Dictionary(字典)Python 3 的六个标准数据类型中: 不可变数据 immutable( 阅读全文
posted @ 2022-01-18 00:07
emanlee
阅读(1393)
评论(0)
推荐(0)
摘要:
Python入门示例系列12 数据类型转换 type() 函数 使用 type() 函数可以查看数据类型。 示例: >>> type(123) <class 'int'> >>> type(12.3) <class 'float'> >>> type("abc") <class 'str'> >>> 阅读全文
posted @ 2022-01-18 00:07
emanlee
阅读(1469)
评论(0)
推荐(0)

浙公网安备 33010602011771号