First IPython Notebook

start by typing in terminal:

ipython notebook


In [5]:
a


Out[5]:
[0, 1, 2]

In [7]:
a.append(3)

Type M to change to Markdown mode

Now you can write Markdown like this:


In [1]:
# HEADING
 Regular text
 
 **bold**
 
 * bullet 1
 * bullet 2

```
    # SOME CODE IN HERE
    a = [1,3,4]
    a.append(1)
```


  File "<ipython-input-1-670de3572a1f>", line 2
    Regular text
    ^
IndentationError: unexpected indent

In [9]:
a


Out[9]:
[0, 1, 2, 3, 3]