I am a beginner in using python.
I created a file script.py which the code is only one line: print("hello"), but when I executed it on windows command prompt (I use windows 10), it results error
File "<stdin>", line 1
python script.py
^
SyntaxError: invalid syntax
I have set the variable paths so when I typed python on CMD, it shows the version of the python that I installed. I saved the script.py in the folder where Python 3.6 installed (Programs/Python 3.6/) but it couldn't work. I also tried to write the address path of the file, e.g ./F/Data/script.py but the result was the same. How do I fix this?