solution (iclass flyingbehavior(object)"""default flying behavior ""def take_off(self)print " ' running fastflapping with my wings def fly_to(selfdestination)print "now flying to % destination def land(self)print "slowing downextending legstouch down class duck(object)def __init__(self)self flying_behavior flyingbehavior(def quack(self)print "quack!def display(self)print "boring looking duck def take_off(self)self flying_behavior take_off(def fly_to(selfdestination)self flying_behavior fly_to(destinationdef land(self)self flying_behavior land(