# Expression
A piece of syntax which can be evaluated to some value. In other words, an expression is an accumulation of expression elements like literals, names, attribute access, operators or [[Function]] [[Call|calls]] which all return a value. In contrast to many other languages, not all language constructs are expressions. There are also [[statements]] which cannot be used as expressions, such as while. Assignments are also statements, not expressions.
```python
10 + 32 # Expression
a = 10 # Statement
# "if" statement that contains an expression
# if <expression>: <expression>
if a + b == 50: pass
```
---
Bibliography:
- [expression - python.org](https://docs.python.org/3/glossary.html#term-expression)