Skip to content

Sequenced notebook: breakpoints that can no longer be bypassed ​

In a sequenced notebook, what comes next only appears once the breakpoint cell (tagged breakpoint) has validated the step. Until now, a clever student could rewrite this cell to unlock the rest without answering.

Not any more: in Basthon's notebook, the code cells used as breakpoints are now read-only, and only a cell left identical to the teacher's can reveal the rest. The original code is also the one saved: saving or restarting the kernel cannot replace it.

Validation functions, the teacher's password and existing sequenced notebooks work without changing anything.

Play with it!