Rating:

Python 3, see link below.

Original writeup (https://github.com/vesche/ctfs/blob/master/2020-04-DawgCTF/Miracle%20Mile/mm.py).