Open jreades opened 7 years ago
SciPy people might have something with CSS hiding answers (SciPy lecture notes).
Not keen on customising iPython: https://github.com/ipython/ipython-in-depth
Python Challenge: http://www.pythonchallenge.com/pc/def/0.html
Exercise and Exercise2 notebook extensions: http://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html
Activate from command line:
conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextension enable rubberband/main
jupyter nbextension enable exercise2/main
Viewable via: localhost:8888/nbextensions
Or (thinking back to Perl-like interpolation):
answer = {{foo}}/bar
{{foo}} is replaced by {{X}} and the value of foo saved to an answers file (or in a hidden cell) from which it can be read in later.
Could work with, say, an answer passphrase to unlock the results.
Leave for later. Messy.
Ability to import answers/code after the fact?
E.g. if you don't give 100% working code how do you manage changes over time?