Ipython final exam test