Python doesn't have suits or closures.
Provided code is not a lambda function either (because lambda function has a syntax of
f = lambda x, y : x + y
).
Expressions in Python contain identifiers, literals and operators. So expression suits good here.
Statements, in turn, are everything that can make up one or several lines of code in Python. So expressions are a subset of statements.
Login in to like
Login in to comment