Python Repr Example, The __repr__() method in Python specifies a developer friendly description of an object.