@patricklehmann24

Using list comprehension for print is a very bad example. Compared to the the ordinary for-loop, an implicit list of return values from print is generated.

Also the statement, that append(...) isn't used in list comprehension isn't true. It's not explicitly written as code, but somehow, elements need to be added to the list.

The presentation states that some code is faster than other code, but no evidence is shown e.g. by using timeit.

boolean values shouldn't be compared (==) with True. At first use "is True". At second, a call to the "is" operator can be skipped, because a boolean can be used directly in an if statement.
Moreover there is no if-statement needed, as booleans can be directly converted to integers by calling int(...).

list comprehension for strings ...
I have no words how silly this is.

---------------
Sorry, but such tutorials are the root cause for so many bad Python code in the world.
Just because you can do it, doesn't mean you should do it; neither you should teach others !

There are many good use cases for list comprehensions. There are also lots of use cases when list comprehensions are more compact, more readable and way faster than ordinary loops. But the given examples in this tutorial are neither.

@PythonSimplified

Thank you so much for all the lovely comments folks! I'm off to a Canada day camping trip deep in the wilderness, will catch up with all your messages once I'm back! 😃 (including on Twitter, LinkedIn and Discord 😉)

@-gavgavgav

Как же приятно, когда англоговорящий человек произносит все слова чётко и внятно.
Частая проблема при восприятии носителей — зажеванные слова, проглатывание окончаний и нераздельная речь, звучащая как непрерывное заклинание. В этом видео шикарно всё!

@katbryce

Some additional things I find useful:
For more complicated list comprehensions, create a function that takes the list item as a single argument, and returns the result, then use that in the list comprehension in much the same way as you used print().
If you have a really huge list, I sometime deal with lists that have 10m+ items in them, then instead of using list comprehension, use multiprocessing.Pool().map(function,list) to use all of your available CPU cores. This doesn't seem to work so well in Windows, but works very well in Linux and FreeBSD.

@munivoltarc

One should learn from her how to teach to viewers or students offline or online, she got a gift of smile on her face, that makes her more beautiful in teaching, she is so passionate in teaching.

@americovaldazo6373

Python Simplified is the top python programming Youtube channel and Mariya is the greatest teacher of the world. Greetings from Argentina.

@sasuke21153

I stopped using python for almost 2 months(not really long) but I was looking for some quick refresher  with the language, and your videos really helped me a lot. I just want to say thank you so much!!!!.

@guycostco7516

You are a life saver. It is so much easier learning Python with your fantastic tutorials. Keep em coming! Cheers from Montreal.

@MegaJohn144

I have read and watched a lot of tutorials about Python list comprehension. This was the best. I think now I can write a list comprehension without copying somebody else's code.

@BintuChaudhary

I love the way you speaking with face expressions...

@edderleonardo

This is the best tutorial about list comprehension, we need the dictionary comprehension

@Tooxcade

Absolutely a fantastic teacher. I like the way you explained it. Thank you!

@againsttrr

Excellent. The way you covered the example's, just mind blowing.

@AlbertoNao

I'm following you and watching your video to improve my Python, I'm using Py since 2 years every day with AWS-Lambda functions but there are always something new to learn! And you have an awesome voice so I improve my English too. Hello from Italy.

@DonEdward

This is EXACTLY what I need to get through a coding test! They asked to turn every other letter in a string from kwargs into upper, and every other lower. Thanks, Mariya! Perfect help, perfect timing!

@patientson

Your style of teaching is tremendously calming to mind, inner members and easy to grasp cause you add the extra effort to breakdown each step with mutual inclusive perspicuous/crystal clear processes. You understand the wisdom of patience of endurance and self-control in increase and kindness of absolute words of hope and encouragement.
I may be very old than but I must say I love you, meaning i cant stop being explicitly patient and kind with my words toward you. I got this idea of love and trust in 1 Corinthians 13: 4-8 with Heading or subheading of ''the way of love.'' You solved a serious problem I was having in my mind - i had sleepless nights for close to one week trying to solve the PE1 Tic Tac Toe game.

@vihansamvedi7939

Yeah, mom I am just learning python.

@ahmedelsayed3133

You make complicated things look easy. You are amazing!

@dae-182

Excellent! And yes, dictionary comprehension would be greatly appreciated.

@shaulock

I just used list comprehension for my huffman coding project, works so fast I love it!!