examples blending text explanations with code and the results
of running code. If you share these with others, others can
easily change the code and see the results of their changes.
It's great for experiments, tutorials, and class exercises.
A notebook is made of many cells. There are two types of cells,
code. You can create a cell using
the buttons the bottom of the page.
When you click on a cell to make it the active cell, you can
edit the cell contents, delete the cell (by clicking the X),
or move the cell (clicking and dragging on the bar at the right).
Text cells are used to hold explanations and documentation.
They use a simple formatting language called
they will live across the cells in your notebook. For convenience,
a print() function is defined that prints the value of variables
into the output. There is also a display() function that allows you
you do even do things like embed SVG images, tables, or other
complicated output in your notebooks.
Notebooks are saved permanently when you click the arrow at the
top of the page to upload the notebook to the cloud. You can then
share the URL of the notebook with anyone you like. When they
view your notebook, if they make changes and try to save, they'll
save their own copy rather than changing your version.
There are example notebooks