Lesson 26.3 While-Loop Ranges
From Hannah Lee
While-loops require additional patterns beyond the simple accumulator pattern that we used in for-loops. In this video, we talk about the first such pattern, which is replacing the range iterator. This is the pattern we will use whenever converting from a while-loop to a for-loop.