Loops

  1. Loops: for-in and while
  2. for-in loop on strings
  3. for-in loop on list
  4. for-in loop on range
  5. Iterable, iterator
  6. for in loop with early end using break
  7. for in loop skipping parts using continue
  8. for in loop with break and continue
  9. while loop
  10. Infinite while loop
  11. While with complex expression
  12. While with break
  13. While True
  14. Testing the refactoring of the while loop
  15. Duplicate input call
  16. Eliminate duplicate input call
  17. do while loop
  18. while with many continue calls
  19. Break out from multi-level loops
  20. For-else
  21. Exit vs return vs break and continue
  22. Exercise: Print all the locations in a string
  23. Exercise: Number guessing game
  24. Exercise: Count unique characters
  25. Exercise: Convert for-loop to while-loop
  26. Solution: Print all the locations in a string
  27. Solution 1 for Number Guessing
  28. Solution 2 for Number Guessing (x)
  29. Solution 3 for Number Guessing (s)
  30. Solution for Number Guessing (debug)
  31. Solution for Number Guessing (move)
  32. Solution for Number Guessing (multi-game)
  33. Solution: Count unique characters
  34. Solution: Convert for-loop to while-loop