If helpful, please click on my comment above the [adopt the answer] button support, thank you! We can communicate with each other about any problems in the future.
0 Answer
If helpful, please click on my comment above the [adopt the answer] button support, thank you! We can communicate with each other about any problems in the future.
Control output format with %e, output in scientific counting form
cn =1.23e-4+5.6e-89j
print("%e"%cn.real)
print(cn.imag)
这家伙很懒,什么都没留下...