Notebook does not accept user input

Where is this happening? In what specific version of Jupyter and running specifically where? What type of kernel?
Is what you pasted what results after the cell “gets commented”?

We cannot help you without more details. And may not be able to help you if it is something imposed by the system you are on. Other than suggest you try that elsewhere, perhaps. But again, hard to tell without details first.
Please read & follow Getting good answers to your questions to help you making such posts in the future.