Python’s repr() vs str(): The Difference Every Developer Should Know

One is for users. The other is for developers. Knowing the difference changes how you write Python