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
Зарегистрируйся сейчас
или Подпишись на будущие тесты