What is the difference between __str__ and __repr__? by IT Nursery What is the difference between __str__ and __repr__ in Python? 2 25