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