Do a Computation without Displaying Output

Evaluating an expression usually gives the result as output:

In[1]:=
Click for copyable input
Out[1]=

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

In[2]:=
Click for copyable input

The assignment is done even though the output is suppressed:

In[3]:=
Click for copyable input
Out[3]=
Notes

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

In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=