What is a correct term for the following piece of Python syntax: 3 + 4
Explanation
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.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Python
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести