Lists
- Anything can be a list
- Any layout
- Access elements of a list
- List slice with steps
- Change a List
- Change sublist vs change element of a list
- Change with steps
- List assignment and list copy
- Shallow vs. Deep copy of lists
- join
- join list of numbers
- split
- for loop on lists
- in list
- Where is the element in the list
- Index improved
- [].insert
- [].append
- [].remove
- Remove element by index [].pop
- Remove first element of list
- Remove several elements of list by index
- Use list as a queue - FIFO
- Queue using deque from collections
- Fixed size queue
- List as a stack - LIFO
- stack with deque
- Exercies: Queue
- Exercise: Stack
- Exercise: MasterMind
- Solution: Queue with list
- Solution: Queue with deque
- Solution: Reverse Polish calculator (stack) with lists
- Solution: Reverse Polish calculator (stack) with deque
- Solution: MasterMind
- MasterMind to debug
- Debugging Queue
- sort
- sort numbers
- key sort of strings
- sort mixed values
- sort mixed values fixed with str
- sorting with sorted
- sort vs. sorted
- Sorted and change - shallow copy
- Sorting characters of a string
- range
- Looping over index
- Enumerate lists
- List operators
- List of lists
- List assignment
- List documentation
- Exercise: color selector menu
- Exercise: count digits
- Exercise: Create list
- Exercise: Count words
- Exercise: Check if number is prime
- Exercise: DNA sequencing
- Solution: menu
- Solution: count digits
- Solution: Create list
- Solution: Count words
- Solution: Check if number is prime
- Solution: DNA sequencing
- Solution: DNA sequencing other
- Solution: DNA sequencing using replace
- Solution: DNA sequencing using regex
- Solution: DNA sequencing with filter
- Solution: DNA sequencing with filter and lambda
- [].extend
- append vs. extend
- split and extend