Python

Python was not found. run without arguments to install from the Microsoft Store - SOLVED

Python was not found. run without arguments to install from the Microsoft Store - SOLVED, someone asked me to explain?

I have newly installed the python in my pc and also set the path in environment variables. When I try to find the version of the python. I got this following error while running the following cmd.

cmd: python --version

"Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings". 
Finally, I tried with this below command. It works.

cmd: py --version

Post your comments / questions