Pregunta de entrevista de Sumo Logic

Basic tech question asking you to loop through data and format it