4 ms·
None of what you just said is particularly true. Python has closures. Lambdas are anonymous functions which support only expressions, like all functions they
by kingkilr 15y ago
None of what you just said is particularly true.
Python has closures.
Lambdas are anonymous functions which support only expressions, like all functions they can form closures.
Named functions also form closures and can contain any number of statements or expressions.