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. [].remove
  13. Remove element of list by index
  14. [].append
  15. [].pop
  16. [].insert
  17. Remove first element of list
  18. Use list as a queue
  19. Queue using collections
  20. Exercies: Queue
  21. sort
  22. sort numbers
  23. sort mixed
  24. key sort
  25. sort with sorted
  26. key sort with sorted
  27. sort vs. sorted
  28. Sorting characters of a string
  29. range
  30. Looping over index
  31. List operators
  32. List of lists
  33. List assignment
  34. List documentation
  35. sets
  36. set operations
  37. tuple
  38. Exercise: color selector menu
  39. Exercise: count digits
  40. Exercise: Create list
  41. Solution: menu
  42. Solution: count digits
  43. [].extend
  44. append vs. extend
  45. split and extend