Loops
- Loops: for-in and while
- for-in loop on strings
- for-in loop on list
- for-in loop on range
- Iterable, iterator
- for in loop with early end using break
- for in loop skipping parts using continue
- for in loop with break and continue
- while loop
- Infinite while loop
- While with complex expression
- While with break
- While True
- Testing the refactoring of the while loop
- Duplicate input call
- Duplicate input call with loop
- Eliminate duplicate input call
- do while loop
- while with many continue calls
- Break out from multi-level loops
- For-else
- Exercise: Print all the locations in a string
- Exercise: Number guessing game
- Exercise: Count unique characters
- Exercise: Convert for-loop to while-loop
- Solution: Print all the locations in a string
- Solution 1 for Number Guessing
- Solution 2 for Number Guessing (x)
- Solution 3 for Number Guessing (s)
- Solution for Number Guessing (debug)
- Solution for Number Guessing (move)
- Solution for Number Guessing (multi-game)
- Solution: Count unique characters
- Solution: Convert for-loop to while-loop