Question d’entretien chez Apple

Python parsing a text file according to the requirements