Hello! With this code:
class Complex:
def __init__(self, realpart, imagpart):
self.real = realpart
self.imag = imagpart
print self.real, self.imag
I get this output:
>>> Complex(3,2)
3 2
<__main__.Complex instance at 0x01412210>
But why does he print the last line?