Sumo Logic Interview Question

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