Don’t use readline() (or other stdin methods) together with inline evaluation in VS Code, it’s known to be broken.
readline()