1. 首页
  2. 数据库
  3. 其它
  4. Python的语法笔记(一)

Python的语法笔记(一)

上传者: 2020-12-22 22:59:17上传 PDF文件 134.63KB 热度 10次
标准数据类型 不可变数据:Number(数字),String(字符串),Tuple(元组) 可变数据:List(列表),Dictionary(字典),Set(集合) Number(数字) python支持 int, float, bool, complex a, b, c, d = 20, 5.6, false, 4+5j print(tupe(a), tupe(b), tupe(c), tupe(d)) 运算结果: 数值类型实例 int float complex 10 0.0 5+8j -756 15.20 5j 080 -90. 9.23e-36j 0x52
下载地址
用户评论