IT 240 Homework One - DePaul University

Python and complex numbers . In Python a complex number is represented in terms of its real part x and its imaginary part y. The mathematical notation would be x+yi, but in Python the imaginary unit is typed as 1.0j or 1j, so that . c = x + y*1j. would assign the variable c to the complex number with real part x and imaginary part y. ................
................