摘要: 内置函数 一、数学运算类: abs(a):求绝对值如果参数是个复数则返回复数的模. a = abs(-1) print(a) >>>1 compilex([real[, imag]]): 创建一个复数. ret = complex(1,3) print(ret) >>>(1+3j) round(x[ 阅读全文
posted @ 2016-05-10 15:15 程亚军 阅读(424) 评论(0) 推荐(0) 编辑