it just started happening, now all "input()" gets yellow underline
But code works properly
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
it just started happening, now all "input()" gets yellow underline
But code works properly
3
Answers
if u r keeping any integer values.
That happens because you are using input. Use raw_input instead. raw_input is what you have to use with python 2.
This problem does not occur in my pylance.
It seems that there are some errors in your vscode’s pylance. It doesn’t recognize the input() method.
You can try to update the pylance in the extension store or add the following code in
settings.json
: