Strings


  1. String repetition
  2. String slice (instead of substr)
  3. Change a string
  4. How to change a string
  5. String copy
  6. String functions and methods
  7. index in string
  8. index in string with range
  9. rindex in string with range
  10. find in string
  11. in string
  12. Triple quoted strings (multiline)
  13. raw strings
  14. while loop
  15. Infinite loop
  16. break
  17. continue
  18. Break out from multi-level loops
  19. for-in loop on strings
  20. format
  21. Exercise: Number guessing game
  22. Exercise: MasterMind
  23. Solution 1 for Number Guessing
  24. Solution for Number Guessing (debug)
  25. Solution for Number Guessing (move)
  26. Solution for Number Guessing (multi-game)