B4Coder
0%
LessonAbout 6 min

Chapter 4 · Lesson 2 of 5

02. Repeating with while

A while loop keeps going as long as its condition is true: for when you don't know how many times it'll take.

Opening the lesson…