4. Expression-Oriented Sequence Transformations¶
- 4.1. Transforming Sequences with Comprehensions
- 4.2. Working with Strings and Lists
- 4.3. Common Comprehension Patterns for a Single Sequence
- 4.4. Common Comprehension Patterns for Two Sequences
- 4.5. Common Comprehension Patterns for Tables
- 4.6. Levels of Abstraction
- 4.7. The Computational Complexity of a List Comprehension
- 4.8. Exercises