python how to get imaginary pat

Solutions on MaxInterview for python how to get imaginary pat by the best coders in the world

showing results for - "python how to get imaginary pat"
Lena
05 Apr 2018
1>>> z = complex(2,5)
2>>> z
3(2+5j)
4>>> z.real
52.0
6>>> z.imag
75.0
8