Deloitte Interview Question

Why would you use a for loop?