Python · Lesson 5.7 · Pro

Nested loops

A loop inside a loop, for tables, grids and every pair of items.

In this lesson

  1. Every combination
  2. Loop over a table
  3. Each pair once
  4. A small times table