4-数字

  • 复数( (complex)) - 复数由实数部分和虚数部分构成,可以用a + bj,或者**complex(a,b)**表示, 复数的实部a和虚部b都是浮点型

image

其中

1
2
3
import math
print(math.pi) //圆周率
print(math.e)