A while loop repeats until its condition becomes false. A for loop commonly visits every item in an iterable.

A while loop repeats until its condition becomes false. A for loop commonly visits every item in an iterable.

More from this video

See all →

Don't lose this one

A free account saves insights like this to your Boards, and Korva resurfaces them so you actually remember.