The current solution relies on MS Forms, a solution working within the notebook would be preferrable.
Other Desirable properties of solution:
- Show correct answer
- Add context information if a correct or non-correct
I had a look at JupyterQuiz and it seems to fit the bill if it works with JupyterLite
The task can be ill-defined if not explained properly during presentation: Make it clear that we are searching of the type of whatever is assigned to the variable, not what type the variable name would be (which would always be string)