Domanda di colloquio di CGI

Difference between a for loop and while loop?