An elegant syntax for building collections

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…

--

--

Image credit: Author

Maybe you’ve been writing classes and creating objects in Python but never really thought about what the __init__ method was doing or what self meant. Or maybe this is all new to you.

Either way, I explain these two things in this video.

Watch the video here

Thank you…

--

--

Onel Harrison

Onel Harrison

Software Engineer — Data & Machine Learning