0

I installed VS Code and have been working on it for a while. I've been facing a small problem. The syntax highlighting for the python code is not working. I'm still not familiar with the setting or if I'm doing something wrong. I have attached an image of the problem.

Heres an image that shows what's wrong

1 Answer 1

1

Save your file as a .py so VScode knows it's looking a python file and can highlight the syntax accordingly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.