Using .__repr__() vs .__str__() in Python
What do the .__repr__()
and .__str__()
methods have in common?
Think about what kind of output these methods produce.
Sorry! There has been an error processing your answer. Please try again.
What do the .__repr__()
and .__str__()
methods have in common?
Think about what kind of output these methods produce.
Sorry! There has been an error processing your answer. Please try again.