Floats and Complex NumbersFloating Pointa = 42.37 b = -2.3477e+30 Complex Numbersc = 4.6 + 5.2J c.real # Real component c.imag # Imaginary component |
<<< | O'Reilly OSCON 2000, Introduction to Python, Slide 37 July 17, 2000, beazley@cs.uchicago.edu |
>>> |