8. More About Iteration
¶
More About Iteration
8.1. Iteration Revisited
8.2. The
for
loop revisited
8.3. The
while
Statement
8.4. Randomly Walking Turtles
8.5. The 3n + 1 Sequence
8.6. Newton’s Method
8.7. The Accumulator Pattern Revisited
8.8. Other uses of
while
8.8.1. Sentinel Values
8.8.2. Validating Input
8.9. Algorithms Revisited
8.10. Glossary
8.11. Exercises
Next Section - 8.1. Iteration Revisited