learn_note/python/5.data structures.md

498 B

5.1 more on lists

  • list.append
  • list.extend
  • list.insert
  • list.remove
  • list.pop
  • list.clear
  • list.index
  • list.count
  • list.sort
  • list.reverse
  • list.copy

5.1.1 using lists as stacks

5.1.2 using lists as queues

5.1.3 list comprehensions

5.1.4 nested list comprehensions

5.2 del statement

5.3 tuples and sequences

5.4 Sets

5.5 Dictionaries

5.6 looping techniques

5.7 more on conditions

5.8 comparing sequences and other types