Тёмный

Lambda Expressions & Anonymous Functions || Python Tutorial || Learn Python Programming 

Socratica
Подписаться 891 тыс.
Просмотров 779 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@Socratica
@Socratica 2 года назад
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
@vt2788
@vt2788 Год назад
Or just use ChatGPT?
@karsten1405
@karsten1405 6 лет назад
I usually don't comment much, but this is not just hilarious, but the pace, presentation style, lack of hipster fluff is impressive and refreshing! Nicely done!
@stingerbee8346
@stingerbee8346 5 лет назад
Yes, this video was very easy on the eyes.
@ruifonseca6147
@ruifonseca6147 4 года назад
Hello, as I am from Brazil, I would like to know the meaning of hipster fluff. Thanks
@katelyn7359
@katelyn7359 3 года назад
Great!
@pamatro
@pamatro 3 года назад
@@ruifonseca6147 It means "cheio de onda, com jargões moderninhos"
@Quadr44t
@Quadr44t 3 года назад
Agreed, 30 sec in and I'm already laughing. Informative+funny is a very nice way to learn new information. Love the ominous background music too (I was waiting for a Guy Fawkes mask tho xD)
@adorkable81
@adorkable81 5 лет назад
I strangely have an urge to listen and absorb the material in this video. I feel like this is a matter of life and death. And if I don't understand and use lambda function correctly, this world will end.
@DarrenChang5
@DarrenChang5 5 лет назад
Michael Vu the world hasn’t ended. I guess you have learnt lambda function.
@BerkaySoyluoglu
@BerkaySoyluoglu 5 лет назад
Weirdly same. I wish she was my teacher.
@asiatavakoli
@asiatavakoli 5 лет назад
So go and learn it asap hahhahah
@millasense2781
@millasense2781 5 лет назад
..and lambda is so much more potent than explained in this video.. hope you use lambda correctly, this world may not end.
@PaulA-zp7hn
@PaulA-zp7hn 5 лет назад
LMAO!
@FhelZone
@FhelZone 6 лет назад
I felt like going through a tutorial in a game. She somewhat feels like the adjutant in StarCraft and a cool and hype mission is about to happen.
@igorthelight
@igorthelight 5 лет назад
Welcome back, Commander!
@krzysztofw3614
@krzysztofw3614 5 лет назад
Exactly that, this feels like either game tutorial or cyberpunk hacking video.
@Cmdrlucky8
@Cmdrlucky8 3 года назад
+1 for most accurate video description ever
@TheLyreLiar
@TheLyreLiar 7 лет назад
The quality of these python videos is actually incredible.
@y.z.6517
@y.z.6517 6 лет назад
Agreed... Wait, your are TheLyreLiar ?
@hangchen
@hangchen 5 лет назад
It's like watching sifi movies
@adityaaanand8001
@adityaaanand8001 5 лет назад
Indeed!
@squirtsmccloud
@squirtsmccloud 5 лет назад
I second that
@lemuricolli
@lemuricolli 5 лет назад
@@hangchen thats true!!!
@eddieh3509
@eddieh3509 6 лет назад
Well that was possibly the most entertaining Python video I've ever seen; it was a great explanation as well. This is the first Socratica video I've watched, but I'll definitely make a point to watch some more.
@manikandand2541
@manikandand2541 4 года назад
mee too
@MariaAWis
@MariaAWis 4 года назад
Same!
@curtiswfranks
@curtiswfranks 2 года назад
Me too.
@werneromling
@werneromling 5 лет назад
Looks like ASMR for Programmers
@VCR47527
@VCR47527 5 лет назад
Thx skynet for teaching me python
@zesegatto
@zesegatto 7 лет назад
"Some people do not know how to use the shift key" This is the greatest truth of the universe.
@danielwang5467
@danielwang5467 6 лет назад
i uSe tHE caPs keY
@nrnjn8547
@nrnjn8547 4 года назад
naw it's just tedious to move your finger, hold it down whilst typing. it screws up ur typing momentum.
@nrnjn8547
@nrnjn8547 3 года назад
@MatZ just because one is lazy to do "the said thing" does not mean he doesnt know how to do it. Learn to comprehend
@nrnjn8547
@nrnjn8547 3 года назад
@MatZ it's more a factor of laziness
@sbarter
@sbarter 7 лет назад
a function has no name! LIAR! *hits with stick*
@abhijithp8108
@abhijithp8108 6 лет назад
GOT
@rxx396
@rxx396 6 лет назад
omg this is exactly what i thought of when i heard her saying it...
@Manish_K_Lall
@Manish_K_Lall 5 лет назад
hahah Awesome
@adorkable81
@adorkable81 5 лет назад
Updated: Lambda: "And what do you say to a function with no name?" Araya: ""Not TODAY !!!"
@ralfbaechle
@ralfbaechle 5 лет назад
Just when I stopped giggling over America's song "A Horse with no name". So was that a Lambda Horse?
@Socratica
@Socratica 5 лет назад
It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉
@dikshanshs
@dikshanshs 4 года назад
Liked the way of presenting the topic
@donovanwray5974
@donovanwray5974 4 года назад
Feel free to come anytime your ready!
@2tifs469
@2tifs469 4 года назад
Thank you for this amazing job. Just some tips for the next serie... Most of the time, the most important line of code is at the very bottom of the videos. Thus, It is often hidden by the RU-vid player, or by the subtitles (if you activate it). A little bit upper would be perfect :)
@Aeroman66
@Aeroman66 4 года назад
"I was programming in the desert in a function with no name..."
@rodrigoappendino
@rodrigoappendino 3 года назад
I've been through the source code on a function with no name.
@StefVonB
@StefVonB 7 лет назад
That joke about Euler almost killed me
@anafalcao-aws5699
@anafalcao-aws5699 5 лет назад
hahaha dead
@nikhilkenvetil1594
@nikhilkenvetil1594 5 лет назад
LOL,yea. Damn cool!
@katelyn7359
@katelyn7359 3 года назад
As it well should!
@cmpunk3367
@cmpunk3367 2 года назад
You just made python 100x more interesting than it already is. Thank You!
@ekremvkilic
@ekremvkilic 6 лет назад
"I hereby grant you the power to collest vast amount of personal data to do with as you wish." 1:58 Just Brilliant :D
@manikandand2541
@manikandand2541 4 года назад
a good news to unknowners
@TuNGamerOn
@TuNGamerOn 5 лет назад
That's a very interesting new style of tutorial, very refreshing ... gj
@jmejia10
@jmejia10 7 лет назад
Best Python tutorials on the web. Keep'em comin! :)
@Socratica
@Socratica 5 лет назад
We're glad you've found us! You can subscribe to Socratica here: bit.ly/SocraticaSubscribe To help us make videos faster, you can become our Patron! www.patreon.com/socratica
@TopJoo7
@TopJoo7 7 лет назад
Am I the only person that is digging the background noise?
@loki6841
@loki6841 7 лет назад
nope
@bazoozoo1186
@bazoozoo1186 7 лет назад
What noise? Get some crappy headphones like mine.
@haoyangrocks
@haoyangrocks 7 лет назад
I'm loving it too!
@jenickjohnson4361
@jenickjohnson4361 6 лет назад
yes
@Luchoz46
@Luchoz46 6 лет назад
Very good too
@Socratica
@Socratica 4 года назад
Welcome to Socratica! You can see our entire Python Playlist here: bit.ly/PythonSocratica Subscribe to see all our new videos! bit.ly/SocraticaSubscribe
@LittleRapGuy
@LittleRapGuy 4 года назад
great video...
@abysir4461
@abysir4461 3 года назад
seems like Halo cortana is teaching me
@MikeChaseJr
@MikeChaseJr 3 года назад
@radheekrshn and Tkinter!
@ssshukla26
@ssshukla26 4 года назад
Finally I can become a pirate as I know how to calculate the trajectory of a cannon ball.
@krenewable726
@krenewable726 7 лет назад
the best python programming channel on the youtube is back with another outstanding video Welcome Back!!
@akashgarg5770
@akashgarg5770 3 года назад
First time commenting on any learning video, your teaching style made me do it. Loved your way of explaining. Now I will surely become a pirate:).
@abdoumenouer7762
@abdoumenouer7762 5 лет назад
2:55 - You pass the butter. Lambda : "Oh my God."
@sourabhshah5652
@sourabhshah5652 5 лет назад
I understood that reference
@Ba5edAF
@Ba5edAF 4 года назад
A tad bit late, but me too!
@elghark
@elghark 3 года назад
3:59 = If you can't see any results just do this: writers=sorted(scifi_authors, key=lambda name: name.split(" ")[-1].lower()) writers
@welovfree
@welovfree 7 лет назад
I really like the mathematical spirit of this channel you are the best
@dillonharless7190
@dillonharless7190 5 лет назад
Gatsu
@vladisergeiev7278
@vladisergeiev7278 5 лет назад
Lambdas are fine but generally should be avoided. Why? By virtue of the fact that they're anonymous, code reuse is impaired, as is caching. I'm making an extreme case here, but lambdas should be thought of as a programmers convenience and not a prescribed way to code.
@michaeld9682
@michaeld9682 4 года назад
I could not have said it better. There is a high probability that I could have said it worse.
@lxathu
@lxathu 4 года назад
Yep. As we like short functions, the possibility of lambdas as one-liners is not a real argument. Not anywhere else than at the command prompt.
@TheDuckofDoom.
@TheDuckofDoom. 7 лет назад
So ... what is the point of a Lamda? Seems like you can name it similar to a normal function, so why not simply use a normal function; or you just use it once in which case you don't need a function at all just use standard old inline procedural style code.
@isaaca3849
@isaaca3849 6 лет назад
As a person who just started learning the lambda, it seems to act like a placeholder.
@simonalexanderpfaus8341
@simonalexanderpfaus8341 6 лет назад
I would think its more concise than regular inline procedural style and doesn't unnecessarily pollute the namespace, if you really are just using it once. Imagine you have two sorting functions - one you only use once and the other all over your code. If you turn the first one into a lambda expression you can simplify the name of the other function (which makes the rest of your code more concise) because you don't have to be afraid of it colliding with your lambda expression.
@Jbdoster
@Jbdoster 6 лет назад
Fantastic explanation here on S.O.: stackoverflow.com/a/890188/8476372
@DarkSpeedKiller
@DarkSpeedKiller 4 года назад
i need help with something.How can i make this lamda to a normal no def function code lista =["Name1 10","Name2 5","Name3 8","Name4 9"] print(sorted(lista , key=lambda x:int(x.split()[1]),reverse=True)) what i have here is some names and im sorting from grade.Ive found this online but i just wanna make it simple
@mohamedel-hadidy4844
@mohamedel-hadidy4844 4 года назад
I've been coding for almost two years and yet that's the most innovative tutorial I've ever seen
@onee
@onee 5 лет назад
This is what I don't get about the lambda expression. It is "anonymous", but you end up naming it anyways? So, aren't you contradicting yourself?
@zyptoskid
@zyptoskid 5 лет назад
Have you seen to the point where she used a lambda in sort? These are the usual use cases for lambdas; where you need a function in an expression but don't need to define one. Storing it in a variable is just an added convenience that was used here to demonstrate that yes, this is indeed a function. See also map, filter, and reduce. Which heavily utilize lambdas. She also touched up a bit on higher order function (quadratic one in the video) which are functions that create functions. That's a delicious topic to learn and is super useful when solving problems. It's like a class template but for functions instead of objects.
@starrio713
@starrio713 3 года назад
I love the fact that the girl holding back her laugh in the intro 😂
@bp56789
@bp56789 3 года назад
Most of the lambda examples I've seen would be more readable with named functions (e.g. it would have been much better to name that "last name" function). The "function that builds functions" example was the first I've seen where lambdas actually make sense to use. Thanks.
@roshanpandey5094
@roshanpandey5094 5 лет назад
"There are people who don't know how to use Shift key" ....lol
@successsteertv
@successsteertv 3 года назад
The dramatic way she was speaking caught my attention 😀😀😀😀😀 ..Really value adding video, Thank You
@nagendrababu900
@nagendrababu900 5 лет назад
Hi, Could you please try to make a video on Multi threading and multiprocessing concepts in python
@zyfryth
@zyfryth 2 года назад
It is fascinating how many ppl underestimate lambda... The power of this function is actually scary...
@Socratica
@Socratica 5 лет назад
We're halfway there. We still need your help! Support Socratica Python Kickstarter: bit.ly/PythonKickstarter
@sanwalyousaf
@sanwalyousaf 6 лет назад
Everyday I watch at least one Socratica Python video and then do one algorithm from Hacker Rank as a practice to start my day
@Socratica
@Socratica 6 лет назад
This sounds like a great way to get into peak mental shape!! Thanks for watching!!
@deepanshu_choudhary_
@deepanshu_choudhary_ 2 года назад
Why can't we just not use the lambda function and write the code as it is without defining it as a function it should be fine too right? as we use function too help us define a block of code to be used multiple times but lambda functions are only used once. "So my question is why do we even need to define lambda function..?"
@ericvalencia161
@ericvalencia161 3 года назад
I love everything in this video. The pace, the music, sound effects, the learning. Excellent.
@jackroark6928
@jackroark6928 2 года назад
you forgot the comedy!
@techjunk8467
@techjunk8467 Год назад
Something you should know how to do before becoming a pirate 😅😂 So basic yet hilarious
@Zoonofski
@Zoonofski 6 лет назад
best python tutorial on the internet!
@logicalindian2739
@logicalindian2739 3 года назад
Normally I skip any video while coming to the end but for your channel, I specially long to see the end part of the video, Lol
@WingN
@WingN 7 лет назад
was just thinking of all the programming channels on youtube, haven't seen a single woman teaching! Then there you are! yay!!!
@Socratica
@Socratica 7 лет назад
Thank you for your kind comment, Wing! We are a team here at Socratica (both men and women) and we achieve together! Just watched your wonderful channel trailer. I hope everyone watches it and is inspired: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-eX4VkEnpmUQ.html
@WingN
@WingN 7 лет назад
Certainly! It just felt like women seem to be a bit underrepresented in this arena. I'm so flattered that you liked my video, there's lots to improve on, but your encouragement will motivate me to create more in the future. Thank you!!!!!
@Socratica
@Socratica 7 лет назад
We totally hear you. We're baffled by the under-representation of women in STEM...the other side of the coin is that so far we don't have that many women watching our channel. Hopefully that is slowly changing. We need everybody's brainpower to have a bright future for the world! Keep us posted on how your work goes! :)
@WingN
@WingN 7 лет назад
Will do! Thank you for the wonderful videos.
@stevejordan7275
@stevejordan7275 5 лет назад
@ Wing N. It seems you have committed an error: Ulka is married. Don't give up hope. There may be single women teaching programming elsewhere. (HeeHeeHeeSnort)
@savagester9379
@savagester9379 3 года назад
I really like the concept but the layout makes it really confusing to understand what's going on
@theoptimaldeveloper
@theoptimaldeveloper 7 лет назад
great style of teaching .
@twentythreepointfive
@twentythreepointfive 3 года назад
Clear, absorbable, AND funny? How is this a python tutorial?! Subscribed!
@harajukubarbie4444
@harajukubarbie4444 6 лет назад
I am so happy so see another female programmer! and this is super interesting. Thank you
@MuhammadAhmed8
@MuhammadAhmed8 6 лет назад
Monica Barrow yeah it always pleases me to see a female doing these kinds of stuffs
@mezigueescartefigue1254
@mezigueescartefigue1254 5 лет назад
Well, she is a professional actress, not a programmer. See her webpage at ulkamohanty.com/, she mentions her socratica videos here.
@Socratica
@Socratica 5 лет назад
@@mezigueescartefigue1254 Did you read Ulka's CV carefully? She's an actor AND a programmer. She has a degree in Computer Science from McGill University. She's also a choreographer and an incredible chef. We're lucky to work with such talented people!
@zyptoskid
@zyptoskid 5 лет назад
There are a million
@Erin-bc8ic
@Erin-bc8ic 4 года назад
@@mezigueescartefigue1254 sexist scumbag.
@utkarshkunwar4319
@utkarshkunwar4319 3 года назад
The least I can do to repay your efforts is by subscribing and liking this tutorial. Fab work
@shortcutDJ
@shortcutDJ 7 лет назад
A hot girl, is teaching me how to code in 2017, and i'm loving it. this is truly the nuts and bolts of the language, yay i'm just so excited and happy!
@isfk
@isfk 7 лет назад
You're weird.
@SunnyApples
@SunnyApples 7 лет назад
Are we at a point where boys finding girls hot is weird?
@y__h
@y__h 7 лет назад
PushMyCarr Yeah, and that's _definitely_ weird.
@shortcutDJ
@shortcutDJ 7 лет назад
isfk i am.
@greenapple5999
@greenapple5999 7 лет назад
SO she's not an android....? Damn....
@Zahlenteufel1
@Zahlenteufel1 3 года назад
"emotionless AI has very dry, funny humour"
@soupisready619
@soupisready619 7 лет назад
Very good presentation, but i do think lambda functions make your code less readable therefore i will not use them. Not trying to make the world better here, but you will receive flag from me whenever i read your code reading these type of functions. They are useless. You can do much better by just writing it out, and give the reader of your code a nice pleasure instead. Believe me, you will feel stupid by making your code look stupid, but your readers will thank you. It will in turn increase software quality and colaboration. Imo do not use this kind of stuff.
@DanielFenandes
@DanielFenandes 6 лет назад
You need them to be able to program in a functional way. Look for "functional python programming".
@cyberpilot6512
@cyberpilot6512 6 лет назад
SoupIsReady - just another tool in the toolbox, and like many tools can be used in the wrong place for the wrong purpose - she highlighted that they should be used for simple throw away scenarios, the list search is a classic situation where they shine.
@zoeyschlemper7486
@zoeyschlemper7486 6 лет назад
example of lambda saving the day: Using it to pass variables from a tkinter button into the generic function assigned to its "command" variable. Without Lambda, this would take a great deal of effort. With lambda, it is barely any extra code at all.
@tripkendall
@tripkendall 6 лет назад
I tend to agree, but even if you don't use them you need to be able to read them :) Cheers.
@JoshuaDHarvey
@JoshuaDHarvey 4 года назад
3:39 how does the name parameter receive it's value from scifi_authors?
@Otomega1
@Otomega1 5 лет назад
I have learned lamdba expression, I'm now 300 IQ
@markhathaway9456
@markhathaway9456 5 лет назад
lambda comment: comment + " is idiotic"
@PrinceKumar-el7ob
@PrinceKumar-el7ob 3 года назад
well saw this video first time on youtube subscribed instantly !!
@vikasmanav3715
@vikasmanav3715 6 лет назад
Haha.. very nice tutorial...marry me girl
@Rohan-rd8ru
@Rohan-rd8ru 4 года назад
After learning print('Hello world') from you: It's time to hack nasa
@alperkilic9630
@alperkilic9630 7 лет назад
There is a typo tho at 3:23, Arthus C. Clarke
@Socratica
@Socratica 7 лет назад
Oh man, and we watched this video SO many times checking for typos! ::bangs head on desk:: This is a good time for us to practice wabi-sabi...
@alperkilic9630
@alperkilic9630 7 лет назад
As someone I know once said, "Even computers can make mistakes."
@AnEvolvingApe
@AnEvolvingApe 7 лет назад
Good eye, Alper. If I had similar skills my code would have less bugs.
@PunmasterSTP
@PunmasterSTP 3 года назад
Does Socratica make amazing Python videos? Lam-duh!
@bojackhorseman7090
@bojackhorseman7090 2 года назад
This is informative and hilarious, or should I say infolarious.
@ezekielmtzev
@ezekielmtzev 3 года назад
Wow. Just wow. This video is absolute perfection. I'm IN LOVE with this.
@Austin-zz3rv
@Austin-zz3rv 6 лет назад
These Udacity ads are painful. Yes, I want to learn about Hadoop... BUT not right now. Leave me alone.
@adityadhar1358
@adityadhar1358 4 года назад
Very soon we will become Socratica Cyborgs
@shlemekian
@shlemekian 4 года назад
I can't believe this is the first video I've seen from this channel. Outstanding!
@Socratica
@Socratica 4 года назад
We're so glad you found us! C'mon, RU-vid - help us connect with people who need help!
@ManjunathManja1227
@ManjunathManja1227 5 лет назад
You, ma'am have got a new sub. Interesting presentation. Loved it!
@ajiths1689
@ajiths1689 4 года назад
why do we access the last piece by index negative one at video 3:46...please answer me anyone thank you in advance
@רועיע-פ1ט
@רועיע-פ1ט 4 года назад
First we take a string, for example: "Isaac Asimov", then we use the split method for turning the string to a list: ["Isaac", "Asimov"]. Lastly we use [-1] to get the last string from the list, in this case: "Asimov". quick reminder: >>> list = ["a", "b", "c", "d"] >>> list[0] "a" >>> list[1] "b" >>>list[-1] "d" Hope I made it clear!
@ashkrv123
@ashkrv123 2 года назад
Some people do not know how to use shift key 😂😂
@harshraj7014
@harshraj7014 5 лет назад
My first on this channel, proof that RU-vid recommendations are working well. Earned a subscriber.
@SuvacoDoce
@SuvacoDoce 6 лет назад
I don't knnow how I ended up in this channel but I'm both amazed and learning python Congrats from Brasil
@serta5727
@serta5727 5 лет назад
So awesome. A Windows pc once asked for a name. The function answered a function has no name. XD
@halinaharmash7630
@halinaharmash7630 5 лет назад
Amazing, this video makes me happy. I enjoy it like a blockbuster! Humans has a chans to survive when there is such stuff.
@SellusionStar
@SellusionStar 5 лет назад
"How to calculate trajectories like a real pyrate!"
@GabrielPereira-ij1wy
@GabrielPereira-ij1wy 2 года назад
Amazing explanation! I love it!
@emekaosigwe
@emekaosigwe 6 лет назад
I love this channel already. The intro video made me subscribe even before completing the video
@Carlos-ny7dt
@Carlos-ny7dt 4 года назад
I just can't say: WOW!!! great job!!!! what an incredibly creative and extraordinary way to teach!!
@lukedavies2406
@lukedavies2406 4 года назад
Ah Jaqen Hgar expressions, I see
@matrixate
@matrixate 6 лет назад
Userful for hacking and creating scripting functions that leave no footprints for the average person to crack. Nice. Good presentation. Great delivery...very dramatic. My compliments to the After FX/Matlab/Python scripter.
@yashsoni8043
@yashsoni8043 2 года назад
this is my first video to solving my lambda expression problem i accidently click the video and i shocked what is happening in this video 😮 then i realized this is the good way for the programmer to interact the viewers and help them by giving accurate and sufficient way to solve their problem 😃 THANK YOU FOR THIS VIDEO I SUBSCRIBED YOUR CHANNEL AND KEEP SUPPORTING BY GIVING A UNIQUE WAY OF STUDYING 😄
@lawrencedoliveiro9104
@lawrencedoliveiro9104 7 лет назад
Who says lambdas don’t have names? ldo@theon:~> python3 Python 3.5.4 (default, Aug 31 2017, 12:22:39) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> f = lambda x : x >>> f.__name__ ''
@somerandomdude4588
@somerandomdude4588 2 года назад
From my knowledge (before watching this video), lambda is simply the same as creating a function with only one line; the return thingy. For example, def X(l): return l[1:] + l[0] is the same as X = lambda l: x[1:] + x[0]
@marksminis
@marksminis 5 лет назад
Subscribed! This is great!
@DavidNitzscheBell
@DavidNitzscheBell 5 лет назад
Humans may be sloppy when typing, but you should respect a user's spelling of their *own* name. If you only capitalize the first letter, then Georgia O'Keefe, Conan O'Brien, Bill O'Reilly, Rosie and Chris O'Donnel, Tip O'Neil, Maureen McGovern, Tracy McGrady, John McEnroe, etc. will be pretty upset that you changed their name in your sign-up procedure.
@parhatbazakov1091
@parhatbazakov1091 2 года назад
OMG!!! This is the best educational video 😄 i haven't ever enjoyed an educational video like i enjoyed this one! Way to go!! Like subscribe share for sure 🙋🏻‍♂️😄 so coool
@zenjo1361
@zenjo1361 3 года назад
I do not understand this part of the code and the question, I hope, is simple. What does [-1] do exactly and can someone explain in a simplified explanation as possible? (3:44) scifi_authors.sort(key = lambda name: name.split(" ")[-1].lower())
@taylorlittle1157
@taylorlittle1157 Год назад
Hooow... did she manage to make this video this funny? And informative... Seriously, I'm shook. Bravo, for real for real
@amitavadas6258
@amitavadas6258 5 лет назад
Best python video till date, in terms of fast pace, to the point content, and the fun you add to it. Kudos.
@jimparsons6803
@jimparsons6803 Год назад
Liked the presentations. Clever way of explaining. Many thanks! I am just starting out in Python. For decades I did C & C++. Plus 3 or 4 others.
@stickpal
@stickpal 2 года назад
*Welcome to the HEV Mark 4 Protective System, for use in hazardous environment conditions. Power-assist movement activated. High-impact reactive armor activated. Atmospheric contaminant sensors activate. Vital signs monitoring activated. Automatic medical systems engaged. Defensive weapon selection system activated. Munition level monitoring activated. Communications interface online. Have a very safe day.*
@lyingcat9022
@lyingcat9022 5 лет назад
Python syntax is usually more clean looking than JavaScript. But in this case I think JS’s fat arrow function is better. x => x + 1; (x, y) => x + y;
@tcjusttc5418
@tcjusttc5418 5 лет назад
At the beginning, I was like: what the fuck? At the end, I was like: fuck yeah!! [SUBSCRIBED]
@JR-ly6bx
@JR-ly6bx 5 лет назад
For some reason I've always avoided your videos... now that I watch this lambda one... I'm hooked! Easy clear concise explanations, sorry I judged you!!!
@pritam-kunduu
@pritam-kunduu 4 года назад
This woman came from 2100 to teach us Python using holographic projection and AI technology .... Kudos to your work ❤️
@bipulkumar9254
@bipulkumar9254 4 года назад
At 2:30 It's seems like you have put extra effort , It's very simple full_name = lambda fn,ln:fn.strip() + " " + ln.strip()
@nvtruongmanh
@nvtruongmanh 4 года назад
Wow, I clearly understand lambda expression after watching this videos. Thanks, I subcribed.
@htomerif
@htomerif 5 лет назад
uh.. anonymous functions are dumb. There's never a situation where using it is better or clearer than just naming a fricking function. I mean I'm all for my x>=y?x:y kind of stuff (thats c for those who don't speak it) but python is a scripting language thats designed to be easy to read. I don't get it.
@VintHeXer
@VintHeXer 3 года назад
Finaly someone showed me truely magic, rly useful. Usual tutorials about lambda doesn't explain anything (and boring). Thanks
@insideTheMirror_
@insideTheMirror_ 5 лет назад
WTF did I just watch? I wasn't ready for that much awesomeness. Just incredible presentation. 1:39 but it's not anonymous anymore :/
@us3s
@us3s 5 лет назад
Holy shit I'm glad I saw this. I was wondering why RU-vid recommended it to me. I was about to make the foolish mistake of becoming a pirate without knowing how to compute the trajectory of cannon balls! Phew!
@tarotaddicts4695
@tarotaddicts4695 2 месяца назад
I laughed so hard. And I showed me I struggle with simple math. :( thank you for making it funny and interesting
Далее
11 ming dollarlik uzum
00:43
Просмотров 1,3 млн
Python Pandas Lambda Function Tutorial With EXAMPLES
12:58
Lambda Expressions in Java - Full Simple Tutorial
13:05
Lambda Expressions - Python Tips and Tricks #5
9:01
Lambda Calculus - Computerphile
12:40
Просмотров 1 млн
Python Lambda Functions??
4:30
Просмотров 185 тыс.