>>>>3+5 where 3 and 5 are atoms, + is the operator.
eval(Dt), where Dt is an identifier bounded to an objetc
'Bersch' is a literal
This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.
Expressions are a fundamental component of programming. Expressions are evaluated by the Python interpreter, and a result is displayed (or returned). For example, we are entering expressions when using Python to perform simple calculations:
>>> 3 + 2 5
The return value of a statement, in this case 5, is temporarily stored in computer memory. However, Python will delete the value from memory when it is no longer used.
We will look at a way to store return values for a longer time a little later on.