Pregunta de entrevista de FARFETCH

small exercise to correct a for loop