[Study][Python] lambda
Feb 18, 2022
This is a note for python study.
The Lambda can use a function by one line code.
For example, below add function is two lines as below.
def add_up(x,y):
return x+y
We can re-write one line as below.
add_up = lambda x, y:x+y
The result is the same.