Wolfram Language Fast Introduction for Programmers
About the Wolfram Language »

Interactive Usage

The Wolfram Language is interpreted, meaning any piece of code can be run immediately. Java code must be compiled before execution, making truly interactive programming impossible.

You can interact with a Wolfram Language notebook in a similar way to Python's interactive shell, entering lines of code and getting immediate results. % works like _ in retrieving the most recent output.

In a Wolfram notebook on the desktop or web, just type an input, then press
SHIFT+ENTER to compute:


In[n] and Out[n] label successive inputs and outputs. You can refer to the most recent output as %—though it’s usually better to define a variable.

de es fr ja ko pt-br zh