Evaluating an expression usually gives the result as output:

Adding a semicolon (;) to the end of an expression suppresses the output:

The assignment is done even though the output is suppressed:

Notes

You can refer to the result of the previous computation using % even if the output is suppressed by a semicolon: