Follow
GREPPER
SEARCH
SNIPPETS
FAQ
USAGE DOCS
INSTALL GREPPER
Log In
Signup
All Languages
>>
TypeScript
>>
how to separate real and imaginary parts of a complex number in python
“how to separate real and imaginary parts of a complex number in python” Code Answer
how to separate real and imaginary parts of a complex number in python
typescript by
on Nov 22 2021
Comment
0
let x = 6 + 9j be a complex number to get the real part use the code : x.real output==> 6.0 to get the imaginary part use the code: x.imag output==> 9.0
Add a Grepper Answer
TypeScript answers related to “how to separate real and imaginary parts of a complex number in python”
python multiply digits of a number
a function that prints all numbers from 0 - n Added together python
TypeScript queries related to “how to separate real and imaginary parts of a complex number in python”
how to separate real and imaginary parts of a complex number in python