Question: how does mro work in python?
Answer: Method Resolution Order (MRO) is the order in which Python looks for a method in a hierarchy of classes. Especially it plays vital role in the context of multiple inheritance as single method may be found in multiple super classes. To understand the concept of MRO and its need, lets examine a few cases.