Comprehensions are expressions that have the keyword "for" in them. You can use them to create generator expressions and even pass in a sequence to a function. We'll examine the syntax and some examples in this video.
Join me on Discord: / discord
Support me by buying from Amazon through my affiliate link: https://amzn.to/2FBNVwA
Here's my Patreon account if you want to give me money: / realphysics
Other ways to support Real Physics: • How to Support Real Physics
Playlist: • Theory of Python
Thank you!