Question from the Python test

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

Medium

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

Author: Amani BEN HADJ BRAIEKStatus: PublishedQuestion passed 40 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!