To be honest, because of error messages in the past I refrained from using that style (even though my colleagues did) because I preferred that the student version of a Jupyter Notebook should always be executable without throwing errors. It might present wrong numbers, graphics etc. though.
At https://github.com/1kastner/machine-learning-hype-or-hybris/blob/bc57d12f6a95ed06d9aeefbfa7960a18bd738a17/01%20einfuehrende-beispiele/01%20Tennisspielen%20bei%20verschiedenem%20Wetter.ipynb there are some sample Jupyter Notebooks. Currently the code is asked for by having a code cell with the comment # Schreiben Sie den Code in diese Zelle
which roughly translates to Please write your code here
. Here, if I could prodie a bit more help without raising any kind of errors that could be great.