Symbols and assignments

Symbols need not be declared in Mathics, they can just be entered and remain variable:

Basic simplifications are performed:

Symbols can have any name that consists of characters and digits:

You can assign values to symbols:

Assigning a value returns that value. If you want to suppress the output of any result, add a ; to the end of your query:

Values can be copied from one variable to another:

Now changing a does not affect b:

Such a dependency can be achieved by using “delayed assignment” with the := operator (which does not return anything, as the right side is not even evaluated):