Problem with Jupyter online version

The issue with input() on JupyterLite was the underlying problem prompting this thread.

The recommendations to use MyBinder-served session in the first reply are the easiest solution because you’ll get a typical Python kernel-backed session and not WASM-based. And so no need to change your code.