ViewTube

ViewTube
Sign inSign upSubscriptions
Filters

Upload date

Type

Duration

Sort by

Features

Reset

331 results

J David Eisenberg
Chapter 5: The for loop

The for loop is a shorthand for a while loop; it specifies the initial loop variable, the continuation test, and the action after each ...

3:04
Chapter 5: The for loop

184 views

5 years ago

J David Eisenberg
Chapter 4: Using loops for user input

A while loop lets your programs repeatedly ask for user input until they enter a “sentinel value” to tell you they have finished.

3:26
Chapter 4: Using loops for user input

216 views

5 years ago

J David Eisenberg
Chapter 4: Using a Boolean to control an input loop

In a preceding video, we had duplicated code to read the user input outside the loop and inside the loop. To avoid duplicated ...

3:38
Chapter 4: Using a Boolean to control an input loop

392 views

5 years ago