How to move an vsc python file to an ipynb without bug

in vsc, this code wait for my answer to execute the rest of the programme, but on ipynb, it print the input without stopping, i have to give this class projet in less than 3h, pls help