Python: Def to Lambda
LAMBDA!!!
Python: Def to Lambda
LAMBDA!!!
Input
def f(x): return x ** 2
Output
f = lambda x: x ** 2