First page Back Continue Last page Overview Graphics
- Nothing magical, this is just a shorter way of writing common idioms we all have written a million times.
- Python often uses the idea of “equivalent to longer code” to keep the language simple.
- After a week, you will never do without them.
Python Tutorial on List Comprehensions
- walks through a few examples in section 5.1.4