Pregunta de entrevista de Synchrony

Dealing with responses from api in python