Question from the Python - Fundamentals test

What is the difference between the `__repr__()` and `__str__()` methods in Python?

Hard

What is the difference between the __repr__() and __str__() methods ?

Author: ThéoStatus: PublishedQuestion passed 1496 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!