Comprehending Comprehensions

4 ratings

List comprehensions made easy

Do you struggle with list comprehensions in Python ๐Ÿ?
I know I did...
That's why I created this ebook.
With over 200 exercises ๐Ÿ˜ฑ, you will practise list comprehensions until your fingers bleed!

The book covers all-things-comprehensions, from list comprehension use cases, tips for idiomatic comprehensions, advanced patterns, generator expressions, set and dictionary comprehensions, and more!

Write better Python ๐Ÿ code ๐Ÿš€

As you start learning and practising, your Python code will become more expressive and idiomatic, just like a learner wrote:

โ€œStarted implementing them in my code at work. Huge difference in speed and readability!โ€

Excellent explanations and exercises

I tested the exercises and explanations on Twitter @mathsppblog, and I got feedback from dozens of people. I used this feedback to improve my content โœจ.

The book contains the best content on list comprehensions. Regarding the exercises, one beginner wrote:

โ€œThis is a lovely series and has given me confidence in list comprehensions as I have started from zero.โ€

Comprehending Comprehensions poster

I presented a poster about comprehensions at EuroPython 2023, a Python conference with +1000 attendees.
With your purchase, you will get a digital copy of the two halves of my A0 poster.
You can also get the poster, for free, if you click here.

Money back guarantee

I love Python ๐Ÿ, I love sharing knowledge, and I would love to teach everyone! However, I understand my teaching style may not be aligned with your learning style. If you buy the ebook and you can't learn from it, you get your money back, no questions asked.

I want this!
147 sales

You'll get an ebook for you to improve your list comprehension skills ๐Ÿ’ช

Chapters available
11 / 13
Total exercises
A0 cheatsheet
Copy product URL


(4 ratings)
5 stars
4 stars
3 stars
2 stars
1 star

Comprehending Comprehensions

4 ratings
I want this!