Concept Flow - String representation methods
Create object
Call str(obj)
__str__ method runs
Return user-friendly string
Call repr(obj)
__repr__ method runs
Return developer-friendly string
When you print or convert an object to string, Python calls __str__ for user-friendly text and __repr__ for developer-friendly text.