Study Guide
Study Guide
1. Sequence-type functions↔Built functions that operate on sequences like lists and strings.
2. Sequence-type methods↔Methods built into the class definitions of sequences like lists and
strings.
3. Tuple↔Stores a collection of data, like a list, but is immutable, once created, the elements cannot
be changed
4. Named tuple↔Allows the programmer to define a new simple data type that consists of named
attributes.
1. namedtuple()↔Creates only the new simple data type and does not create new data objects.
5. Set()↔Unordered collection of unique elements.