Lists


  1. Lists
  2. Change a List
  3. List assignment and list copy
  4. join
  5. join list of numbers
  6. split
  7. for loop on lists
  8. in list
  9. Where is the element in the list
  10. Index improved
  11. [].insert
  12. [].append
  13. [].remove
  14. Remove element by index [].pop
  15. Remove first element of list
  16. Remove several elements of list by index
  17. Use list as a queue
  18. Queue using collections
  19. Exercies: Queue
  20. sort
  21. sort numbers
  22. sort mixed
  23. key sort
  24. sort with sorted
  25. key sort with sorted
  26. sort vs. sorted
  27. Sorting characters of a string
  28. range
  29. Looping over index
  30. List operators
  31. List of lists
  32. List assignment
  33. List documentation
  34. tuple
  35. Exercise: color selector menu
  36. Exercise: count digits
  37. Exercise: Create list
  38. Exercise: Count words
  39. Solution: menu
  40. Solution: count digits
  41. Solution: Count words
  42. [].extend
  43. append vs. extend
  44. split and extend