@@ -0,0 +1,1573 @@
+%22%22%22%0AAdapter Pattern%0A%0ADefinition:%0A    pass%0A%0AAlso Known As:%0A    pass%0A%0AProblem:%0A    pass%0A%0AWrong Solution:%0A    pass%0A%0ACorrect Solution:%0A    pass%0A%0ASources:%0A    Title: Head First Design Patterns%0A    Author(s): Eric Freeman & Elisabeth Freeman%0A    Pages: TODO%0A%0A    Title: Design Patterns%0A    Author(s): Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides%0A    Pages: TODO%0A%0AExample Info:%0A    pass%0A%0A%22%22%22%0A%0A%0Aclass RocketShip(object):%0A    def turnOn(self):%0A        raise NotImplementedError()%0A%0A    def turnOff(self):%0A        raise NotImplementedError()%0A%0A    def blastOff(self):%0A        raise NotImplementedError()%0A%0A    def fly(self):%0A        raise NotImplementedError()%0A%0A%0Aclass NASAShip(RocketShip):%0A    def turnOn(self):%0A        print('NASAShip turning on')%0A%0A    def turnOff(self):%0A        print('NASAShip turning off')%0A%0A    def blastOff(self):%0A        print('NASAShip blasting off')%0A%0A    def fly(self):%0A        print('NASAShip flying!')%0A%0A%0Aclass SpaceXShip(object):%0A    def ignition(self):%0A        print('Starting SpaceXShip ignition')%0A%0A    def on(self):%0A        print('Turning on SpaceXShip')%0A%0A    def off(self):%0A        print('Turning off SpaceXShip')%0A%0A    def launch(self):%0A        print('Launching SpaceXShip')%0A%0A    def fly(self):%0A        print('SpaceXShip flying!')%0A%0A%0Aclass SpaceXAdapter(RocketShip):%0A    def __init__(self):%0A        self.ship = SpaceXShip()%0A%0A    def turnOn(self):%0A        self.ship.on()%0A        self.ship.ignition()%0A%0A    def turnOff(self):%0A        self.ship.off()%0A%0A    def blastOff(self):%0A        self.ship.launch()%0A%0A    def fly(self):%0A        self.ship.fly()%0A

Add basic code for adapter pattern