#programming #language #python #datastructure
-
Containers: Python List, Python Tuples, collections.deque → It has a reference of the object
-
Flat: string, bytes, array.array → It stores the value of the object itself
-
Mutable: Python List, bytearray, array.array, deque
-
bytearray has an integer between 0 and 255
- You can change the sequence itself
-
Immutable: tuple, string, bytes
- Sequence does not change, and a new one is created
-
Operations on sequences: + and * with Sequences
-
Generation expression: genexp