Python Part 8 - List Comprehensions

preview_player
Показать описание
By Andy Brown

Processing a list usually involves applying a condition to exclude unwanted items and then transforming the result to get what you want. A list comprehension provides an elegant, concise way to combine these two things.

Chapters
00:00 Topic list
01:01 Three preliminary messages
02:12 Example - listing even number squares
06:13 Example - reversing certain words
09:20 Example - listing hyperlinks
12:25 Single line programming

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:

Рекомендации по теме
Комментарии
Автор

It seems that the three messages before the start of this tutorial are to stimulate the brain.
Really thanks

amoorinet..
Автор

Although I am a beginner, using tuple and list makes it easier and shortens the program in a way beyond imagination, and on the other hand, it makes you dispense with the lambda and the dictionary sometimes and replace them with functions.
In fact, the explanation on this channel is sufficient and very comprehensive
greatly thank you and reward you

amoorinet..
Автор

To me that looks cool. It's like building extreme function in Excel 😅 love these vids ❤

enrikekasijas
Автор

Hi Andy. Thanks for the video and more fun with Python! Thumbs up!!

wayneedmondson
Автор

The Python committee having a good laugh: “let’s call it Comprehension!”

lesptitsoiseaux
Автор

Thank you sir for posting this video this fast. Please start posting all videos soon

Teaseweb
Автор

Do you have an ARCHIVE of all INDEX videos by topic ??

xxxencryptacion