Python · Lesson 13.1 · Pro

Classic loop puzzles

The short logic questions that show up in Python screening rounds, solved with plain loops.

In this lesson

  1. Fizz, buzz and friends
  2. Reverse and palindromes
  3. Count characters
  4. Prime numbers