<AptiCode/>

Question 507: In Python, what is the order in which classes are searched when resolving a method or attribute?

tcs
wipro
infosys
general
aptitude
inheritance
python-programming

In Python, the method resolution order (MRO) follows a top-down approach, searching for methods or attributes first in the current class, then in its superclass, and so on.