Copilot says "The error message suggest that there might be a missing comma in the print statement on line 2 of main.py.". There is no missing comma - Copilot is incorrect. What is missing is quotes. Bonus: pylint will tell you the exact same (incorrect) thing Copilot told you, but in a much less verbose way. if you are going to get bad advice, at least do it efficiently and use pylint. Pylint output: 'E0001: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (, line 2)' (syntax-error)'
For those who are figuring out: The interpreter is baffled between the string and integer. The interpreter is unable to understand the difference between the two as it is not specified. The string should be in double quotes and it isn't shown in the code. So the compiler throws an error.😊.
Copilot says "The error message suggest that there might be a missing comma in the print statement on line 2 of main.py.".
There is no missing comma - Copilot is incorrect. What is missing is quotes.
Bonus: pylint will tell you the exact same (incorrect) thing Copilot told you, but in a much less verbose way. if you are going to get bad advice, at least do it efficiently and use pylint.
Pylint output:
'E0001: Parsing failed: 'invalid syntax. Perhaps you forgot a comma? (, line 2)' (syntax-error)'
That output is MAD just for missing quotes.
For those who are figuring out:
The interpreter is baffled between the string and integer. The interpreter is unable to understand the difference between the two as it is not specified. The string should be in double quotes and it isn't shown in the code. So the compiler throws an error.😊.
All the features of basic linting, except it takes 10 seconds ands gives you the wrong answer
very funny how even in this it points out the wrong error lmao
Some people just have amazing radio voice ❤
Never knew this. Thank you ❤
which dark theme are ya using ?
Can copilot chat with my whole code ?
Which theme is this?
Never knew this 😂😂 ❤❤
That feature helped me lots of times.