3. More On Flow of ControlΒΆ

You have varied the normal forward sequence of operations with functions and for loops. To have full power over your programs, you need two more constructions that changing the flow of control: decisions choosing between alternatives (if statements), and more general loops that are not required to be controlled by the elements of a collection (while loops).