Khan Academy: "While Loops in Python"
Please watch this 6-minute lecture. This lecture explains loops by applying them to a simple application, manipulating lists. Though the video uses Python programming language to explain the while loop, the basic concept of the while loop remains the same. The while loop requires a statement in the body of the loop that updates the control variable. In the next section, we will learn about the 'for' loop, which is another implementation of a loop where the control is automatically updated.
Last modified: Wednesday, February 10, 2016, 10:54 AM