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 your support and watch more videos like this one.

More Computing resources

Watch videos covering a variety of topics in Computing at OnelTalksTech.com

--

--

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 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 OnelTalksTech.com

--

--

Onel Harrison

Onel Harrison

Software Engineer — Data & Machine Learning