发布时间:2019-08-29 07:36:09编辑:auto阅读(2428)
#_*_ coding:utf-8 _*_
aa=123-12j
print aa.real
#output实数部分 123.0
print aa.imag
#output虚数部分 -12.0
上一篇: python字典的hashtable实现
下一篇: 【精华】ACM八大输入输出格式之Pyth
53723
40560
34982
30705
25573
25347
23786
19256
15380
14876
1417°
1310°
1407°
1438°
1455°
1636°
1583°
1502°
1596°
1554°