কমপ্লেক্স
>>> 3 + 2j
(3+2j)
>>> type(3+2j)
<class 'complex'>
>>> a = 2.3 - 5.8j
>>> a.real
2.3
>>> a.imag
5.8
>>> a + 4j
(2.3+9.8j)>>> a.conjugate()
(2.3-5.8j)Last updated
Was this helpful?
>>> 3 + 2j
(3+2j)
>>> type(3+2j)
<class 'complex'>
>>> a = 2.3 - 5.8j
>>> a.real
2.3
>>> a.imag
5.8
>>> a + 4j
(2.3+9.8j)>>> a.conjugate()
(2.3-5.8j)Last updated
Was this helpful?
Was this helpful?