Lists

  1. Anything can be a list
  2. Any layout
  3. Access elements of a list
  4. List slice with steps
  5. Change a List
  6. Change with steps
  7. List assignment and list copy
  8. Shallow vs. Deep copy of lists
  9. join
  10. join list of numbers
  11. split
  12. for loop on lists
  13. in list
  14. Where is the element in the list
  15. Index improved
  16. [].insert
  17. [].append
  18. [].remove
  19. Remove element by index [].pop
  20. Remove first element of list
  21. Remove several elements of list by index
  22. Use list as a queue
  23. Queue using deque from collections
  24. Fixed size queue
  25. List as a stack
  26. stack with deque
  27. Exercies: Queue
  28. Exercise: Stack
  29. Exercise: MasterMind
  30. Solution: Queue with list
  31. Solution: Queue with deque
  32. Solution: Reverse Polish calculator (stack) with lists
  33. Solution: Reverse Polish calculator (stack) with deque
  34. Solution: MasterMind
  35. MasterMind to debug
  36. Debugging Queue
  37. sort
  38. sort numbers
  39. sort mixed
  40. key sort
  41. sort with sorted
  42. sort vs. sorted
  43. key sort with sorted
  44. Sort and secondary sort
  45. Sorting characters of a string
  46. range
  47. Looping over index
  48. Enumerate lists
  49. List operators
  50. List of lists
  51. List assignment
  52. List documentation
  53. tuple
  54. Sort tuples
  55. Exercise: color selector menu
  56. Exercise: count digits
  57. Exercise: Create list
  58. Exercise: Count words
  59. Exercise: Check if number is prime
  60. Exercise: DNA sequencing
  61. Solution: menu
  62. Solution: count digits
  63. Solution: Create list
  64. Solution: Count words
  65. Solution: Check if number is prime
  66. Solution: DNA sequencing
  67. Solution: DNA sequencing other
  68. Solution: DNA sequencing using replace
  69. Solution: DNA sequencing using regex
  70. Solution: DNA sequencing with filter
  71. Solution: DNA sequencing with filter and lambda
  72. [].extend
  73. append vs. extend
  74. split and extend