Porsche Interview Question

basically a bunch of python