Watch: Comprehensions in Python

Image credit: Author

Comprehensions are an elegant syntax for creating collections such as lists, sets, and dictionaries in Python. In this video, I showcase the use of comprehensions in Python to build, filter, and transform lists, sets, dictionaries.

Watch the video here

Thank you for watching. Please LIKE and SUBSCRIBE to show your support and watch more videos like this one.

More Computing resources

Watch videos covering a variety of topics in Computing at




Software Engineer — Data & Machine Learning

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Day 7 CN-OSI Model #100DaysofHacking

Linearize a PDF in Python

How to Convert ODT to PNG in Python

Use Port Forwarding on K8S to Access Private Resources

Kubernetes, for software developers (part 3)

Tracking the Digital Yuan, in Chinese, with 50 lines of code

How to convert Photoshop PSD to JPG in Python

How to Scan a URL for Safety Threats in C#

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Onel Harrison

Onel Harrison

Software Engineer — Data & Machine Learning

More from Medium

Editing a List Using a Loop

How to install Python on macOS

Notepad in Python with tkinter

Solving “Letter Boxed” in Python