Keyboard shortcut ('O") interfering with input()

If you care, there are actually additional other work arounds, as input() is a legacy thing from consoles and not really meant for modern Jupyter with much more polished, full-featured collection of text from users. See here for some related discussion of options. (See the next paragraph as input() indeed now works in JupyterLite, which originally prompted that discussion.)
input() wasn’t even working typically in JupyterLite until more recently. They went through great effort to get it working as it is a traditional crutch used in teaching novices, see here under ‘Interactive Input Support’:

“Since input() is used quite extensively in introductory Python courses, this new feature should help make teaching with JupyterLite easier!”