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