Vscode Problem Flags


Can someone tell me why I am getting these ‘Problems’ in VSCode and my code is all underlined?How can I get rid of this?


Hi FMars! I was curious about this question too and found this topic on Stackoverflow)
Answer is:
As your code is not contained in a class or function it is expecting those variables to be constants and as such they should be uppercase.

You can read PEP8 for further information.