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 @mcguire:
Unlock 5 remaining solutions by signing in and submitting your own entry