Thought Email List: space rocket design and manufacture To: entrepreneur From: rocket engineer Subject: space rocket work I have drafted the overall structure of the rocket, but plan to use the curses library to launch it. #!/usr/bin/env python3 # space venture 2 import sys class RocketShip: def __init__(self, material=sys.stdout): self.material = material def build(self): self.nose() self.body() self.tail_exhaust() def _build_launch(self, plan): self.material.write(f'{plan}\n') def nose(self): self._build_launch(r''' ^ ''') self._build_launch(r''' / \ ''') self._build_launch(r''' / \ ''') def body(self): self._build_launch(r''' | | ''') self._build_launch(r''' | | ''') self._build_launch(r''' | | ''') def tail_exhaust(self, mod=0): if mod % 2: self._build_launch(r''' |$$$| ''') self._build_launch(r'''/$$$ \ ''') self._build_launch(r''' $$$ ''') self._build_launch(r''' $ $ ''') else: self._build_launch(r''' |$$$| ''') self._build_launch(r'''/ $$$\ ''') self._build_launch(r''' $$$ ''') self._build_launch(r''' $ $ ''') RocketShip().build()