$30
CPSC 340 Assignment 6
Instructions
This assignment is provided to you in the form of a Jupyter notebook, namely the file a6.ipynb in the doc
directory. It’s highly recommended for you to the work inside the notebook, which will require you
to install Jupyter notebook and get it running. If you are using Anaconda, then Jupyter will already be
installed. You can fire it up by opening your terminal, navigating to the directory containing the notebook,
and running jupyter notebook a6.ipynb. Within Jupyter, you can run a cell with Shift+Enter.
Note: if, upon starting the notebook, you get an “Kernel not found” error, that is not a problem. Just select
the version of Python you want to use from the options provided.
If you don’t want to deal with Jupyter notebook, I’ve also exported the notebook to both .py and .pdf
formats. You can use these and submit your work in the regular CPSC 340 style.
Whichever route you go, please make it clear in the README and, as usual, be sure to link to the appropriate
file(s) so the grader can easily find your work.
By the way, the notebook file is quite long and so it may look very intimidating. However, a lot of it is code
that’s already provided for you, which you just need to read and interpret.
1