THIS is massively misunderstood in Python #python #coding #howto

preview_player
Показать описание
If you want to see more of me, join my Discord server!

I get a lot of people asking, so here's my setup!

Affiliations (I may earn a commission):



If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.

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

I woukd actually prefer the first version. The function name clearly states what it is doing, making it more readable.

Silt
Автор

First version is much more readable. Thanks linter for preventing this kind of stuffs

joshhh
Автор

Why not take it one more step and reduce the entire thing to a list comprehension? No lambda needed

VinceKully
Автор

Just use a damed comprehension don't be lame

dane
Автор

Guido himself dissuades using these functions, just use a list comp

SkaChild
Автор

There is not one simple definiton, of what a lambda even is. Somewhere else, Lambdas are functions that are ran on an external server. So stop using that name.

meisterwald
Автор

The second time you explain it in this video is much better than the first. But I think you should have stopped by then, it gets repetitive after you have gone over it five times.

NikolajLicht
Автор

So is this like pythons version of a map? I feel like maps do the same thing but are way easier to read. "Lambda" could be literally anything

WarlordEnthusiast
Автор

Just like Mike said, chest compression chest compression chest compression

ouwyukha
join shbcf.ru