@@ -0,0 +1,629 @@
+# Complex parts%0Aclass CPU:%0A    def freeze(self): pass%0A    def jump(self, position): pass%0A    def execute(self): pass%0A%0Aclass Memory:%0A    def load(self, position, data): pass%0A%0Aclass HardDrive:%0A    def read(self, lba, size): pass%0A%0A# Facade%0Aclass Computer:%0A    def __init__(self):%0A        self.cpu = CPU()%0A        self.memory = Memory()%0A        self.hard_drive = HardDrive()%0A%0A    def start_computer(self):%0A        self.cpu.freeze()%0A        self.memory.load(0, self.hard_drive.read(0, 1024))%0A        self.cpu.jump(10)%0A        self.cpu.execute()%0A%0A# Client%0Aif __name__ == '__main__':%0A    facade = Computer()%0A    facade.start_computer()%0A

Add facade pattern