发布时间:2019-08-29 07:36:09编辑:auto阅读(2167)
#_*_ coding:utf-8 _*_
aa=123-12j
print aa.real
#output实数部分 123.0
print aa.imag
#output虚数部分 -12.0
上一篇: python字典的hashtable实现
下一篇: 【精华】ACM八大输入输出格式之Pyth
51366
50839
41427
38225
32721
29616
28436
23340
23282
21613
1699°
2427°
2028°
1965°
2305°
1993°
2703°
4520°
4342°
3096°