PATH to python not working

I just downloaded Python for a class and I’ve never coded before. I was trying to complete the python --version command and received this error

“Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.”

I was told to use the following command to set the path```
setx path “%PATH%;”

after running that I now am getting this error

python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python --version
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (python:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I am unsure what to do now. any help would be appreciated! 

I did also go to edit system environment and add the path to my system and user variables

Hi,

can you try re-installing from here:

On Windows, it’s recommended that you use the Python Launcher py:

py --version

Please read:

That command made a mess of your per-user “Path” value. Now your initial value of PATH will have the system “Path”, and whatever the value of PATH was at the time you ran the command. The latter was likely the concatenation of the expanded system “Path” and the user “Path”.