Table of Contents
In human languages, an expression is something that conveys a message to another human being. Similarly, in Python, an expression is something that conveys a message to the interpreter. We can also consider the message as an operation since we are telling the interpreter what to do. In order to specify an operation, we need operators and operands. Operators are functionality that do something and can be represented by symbols or by special keywords. Operators require some data to operate on and such data are called operands.
A simple example is 2 + 3
where
2
and 3
are the operands and
+
is the operator.