solution (iiclass nonflyingbehavior(flyingbehavior)"""flyingbehavior for ducks that are unable to fly ""def take_off(self)print "it' not working :-(def fly_to(selfdestination)raise exception(" ' not flying anywhere "def land(self)print "that won' be necessary class rubberduck(duck)def __init__(self)self flying_behavior nonflyingbehavior(def quack(self)print "squeak!def display(self)print "small yellow rubber duck class decoyduck(duck)def __init__(self)self flying_behavior nonflyingbehavior(def quack(self)print "def display(self)print "looks almost like real duck