Operators and Expressions

Most statements (logical lines) that you write will contain expressions. A simple example of an expression is 2 + 3 . An expression can be broken down into operators and operands.

Operators are functionality that do something and can be represented by symbols such as +  or by special keywords. Operators require some data to operate on and such data is called operands. In this case, 2  and 3 are the operands.


Source: Swaroop C.H., https://python.swaroopch.com/op_exp.html
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 License.