007 functional python: lambda expressions: anonymous functions

preview_player
Показать описание
The use and limitations of lambda expressions in python.

Part of the Functional Python series:
Рекомендации по теме
Комментарии
Автор

Looks nice ! When you are a bit further in the series i would like a video where you solve a couple of problems using the functional approach .

hriscuvalerica
Автор

Funny -- I use a black background for my macOS terminal and for my Obsidian client, but the white background looks better for your slides. Dunno if that it just me always using default PowerPoint backgrounds in my own work.  🤔

zastre
Автор

And you actually can create variables in lambdas using valrus like this -> 'x = lambda: (c:= 22) and (lambda: c * 20)'
and then run it like x()()
or 'x = lambda: (c:= 22) and (lambda inp: inp * 20)(c)' and then run like x()

jen
Автор

and also you can run recursive fibonacci using lambdas and a valrus operator :)

airatvaliullin
welcome to shbcf.ru