title: What is the purpose of __str__ and __repr__?
body: <p>I really don't understand where are <code>__str__</code> and <code>__repr__</code> used in Python. I mean, I get that <code>__str__</code> returns the string representation of an object. But why would I need that? In what use case scenario? Also, I read about the usage of <code>__repr__</code></p>
  
  <p>But what I don't understand is, where would I use them?</p>