problem (iclass redheadduck(duck)def display(self)print "duck with read head class rubberduck(duck)def quack(self)print "squeak!def display(self)print "small yellow rubber duck oh manthe rubberduck is able to flylooks like we have to override all the flying related methods but if we want to introduce decoyduck as well we will have to override all three methods again in the same way (dryand what if normal duck suffers broken wingideacreate flyingbehavior class which can be plugged into theduck class