python has two kinds of classesold and new (more on this laterold style classes use depth-firstleft-to-right access new classes use more complexdynamic approach class ao() class bo(ao) class co(ao) class do(bo,co)pass ao ao(bo bo(co co(do do(from mi import ao bo co do