Computer Science, asked by arhantdoongarwal, 8 months ago

I am currently learning coding through online course and I am using VISUAL STUDIO CODE as interpreter. I had this minor doubt concerned with coding.

python basics_1.py

File "", line 1

python basics_1.py

^

SyntaxError: invalid syntax

Although I have saved the file with codes in a folder, THIS IS THE OUTPUT I AM RECIEVING ON EXECUTING MY FILE IN PYTHON INTERACTIVE SHELL AND TERMINAL. PLEASE HELP!!

Answers

Answered by Anonymous
2

Hey Buddy

Here's the Answer

----------------------------------------------------------

If you are using

python basics_1.py with the interpreter, it will give an error.

Make sure you are not into interpreter while using this command in you cmd terminal.

If it works, just respond in the comment

PEACE :)

Similar questions