Sample Python Notebook

This is a demo notebook for the Python language.

For learning about Python, please check this tutorial.

For learning about jupyter notebooks, please check this other tutorial.


In [ ]:
2+2

In [ ]:
import matplotlib.pyplot as plt, numpy as np
%matplotlib inline

x = np.arange(-np.pi, np.pi, 0.01)
plt.plot(x, np.sin(x));

Try it!

Type and execute Python commands in the cell below.


In [ ]: