Alex summarized well but, surprisingly, was too succinct.
First, let me reiterate the main points in Alex’s post:
__repr__
__str__