How do I store an inputed, imaginary number as a float without using the complex numbers method in Python?

后端 未结 0 659
南笙
南笙 2021-01-18 06:19

I need to store an imaginary number as a float without using the complex numbers method at all. Any ideas? Here is an example of my code:

class ComplexNumbers: def nu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题