Python: Def to Lambda
LAMBDA!!!
Start file
def f(x): return x ** 2
End file
f = lambda x: x ** 2
View Diff
1c1 < def f(x): return x ** 2 --- > f = lambda x: x ** 2
Solutions by @philipp_schilk:
Unlock 1 remaining solutions by signing in and submitting your own entry