1 of 7

Application of Looping Revisited

2 of 7

Objectives

  • Why nested loops?
  • Practice

2

3 of 7

Why Nested Loops?

Loops inside other loops

1

4 of 7

Why Nested Loops?

  • We saw in the last lesson
    • Wanted to repeat a loop many times
    • Use nested loops
  • Many applications of nesting loops
    • Data structures like trees and graphs
    • Mathematical arrays, grids
  • Lists of lists is a common application
    • More on this later

4

5 of 7

Practice

All the practice!

2

6 of 7

Practice

  • L2.02 For in part two

6

7 of 7

Credits

Special thanks to all the people who made and released these awesome resources for free:

  • Presentation template by SlidesCarnival
  • Photographs by Unsplash

7