email: will.yeadon@durham.ac.uk
office: OC207
Office Hour: Friday 3-4.45 starting week 2, either in person in my office or via zoom.
# YOUR CODE HERE
markerdef double(x):
# YOUR CODE HERE
raise NotImplementedError()
raise
statement) with a valid piece of code:def double(x):
return 2*x
assert double(4) == 8
assert
tests pass, you will get a warning if they don't.A free text question will be followed by a cell with the text
YOUR ANSWER HERE
You can double click on it and edit the text. You can use $\LaTeX$
Feedback will be made available on the notebook server.
I will demonstrate it after your first assignment's feedback is ready.
matplotlib
: plottingnumpy
: fast numerical calculations with arrays scipy
: collection of scientific functionssympy
: symbolic calculationSee new L1 python resource for more on these packages