Home » Python » Difference between __str__ and __repr__?

Difference between __str__ and __repr__?

Posted by: admin April 26, 2018 Leave a comment

Questions:

What is the difference between __str__ and __repr__ in Python?

Answers: