An example notebook with solutions to remove
Once the "Slides" library is installed on your JupyterLab, you can use the following command line to remove the solutions from your notebook:
slides -f notebook.ipynb -o filtered.ipynb
Click SolutionToRemove.ipynb link to view the file.