tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code2:17:33

Tutorials - Reuven M. Lerner: Comprehending comprehensions

PyCon US ↗

From the creator

Comprehensions are one of the most important — and misunderstood — parts of Python. In this tutorial, I'll walk you through comprehensions, including how to write them, and why you would want to do so. By the time you finish this tutorial, you'll fully understand list, set and dict comprehensions, as well as nested comprehensions and generator expressions. You'll understand the differences between regular "for" loops and comprehensions, and where to use them.

Published 2023-06-02 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code