Python/gloss python complex

来自菜鸟教程
跳转至:导航、​搜索

<languages />

Python复合体

复杂

复数以“ j”表示为虚部:

复杂:

  x = 3+5j
y = 5j
z = -5j

print(type(x))
print(type(y))

  print(type(z))