Pergunta de entrevista da empresa Deloitte

Why would you use a for loop?