Python - Magic Methods and Operator Overloading
What will be the output of this code?
class Cat:
def __repr__(self):
return 'Cat()'
def __str__(self):
return 'A cat'
c = Cat()
print(c)