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 1023 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!