Rating:

Python 3, see link below.

Original writeup (https://github.com/vesche/ctfs/blob/master/2020-04-DawgCTF/Man%20these%20spot%20the%20difference%20games%20are%20getting%20hard/spot.py).