摘要: complex([real[, imag]]) 作用: 创建一个值为real + imag * j的复数或者转化一个字符串或数为复数。如果第一个参数为字符串,则不需要指定第二个参数。 参数real: int, long, float或字符串; 参数imag: int, long, float。 例子 阅读全文
posted @ 2017-05-01 12:56 渊=源 阅读(405) 评论(0) 推荐(0) 编辑