Question d’entretien chez Jet

How to replace for loops using functional style?