Python __str__ & __repr__ & __format__
Python gives all objects an assortment of methods. Some methods have two double-underscores in front and behind the name. The double-underscores are sometimes called dunders. And the methods are called dunder methods. To find a list of these methods ...
tongere.hashnode.dev7 min read
Omkar Adhali
Well explained with great examples.