we can use both parent and child class method with same name this can be done using 'super()as belowclass tiger(animal)def sound(self)print("tiger roars"super(sound(call the parent class 'soundt tiger("tigger" sound(invoke 'soundof both child and parent tiger roars loud or soft sound multiple inheritance is possible in pythonwhich can be used to handle complex situations below is an example of multiple inheritanceclass cat(tigeranimal)pass cat("kitty" sound(tiger roars loud or soft sound wild(wild or pet animail note thatpython creates mro (method resolution orderfor multiple inheritanceand if it can not be created then error will be reported the mro for class 'catis shown belowhelp(catclass cat(tigeranimalmethod resolution ordercat tiger animal if we inherit animal first and next tigerthen below error will occurbecause python uses 'child firstapproach and this inheritance will call the parent first mro will be "cat->animal->tigerand it will report error as it has 'parent firsti animal comes before tiger class rat(animaltiger)pass traceback (most recent call last)file ""line in typeerrorcannot create consistent method resolution order (mrofor bases animaltiger new user making boxes supposewe get another user for our class ring ( file pythonic py)who is creating boxes for the ring for he needs slightly greater perimeter of the box than the ring note that this user is inheriting the class 'ring'and overriding the method 'perimeter()at line as shown belowlisting box company modifying the class method 'perimeter() box py user- creating boxes for the ring (continues on next page new user making boxes