AMD interview question

File reading and parsing with Python.