Open PowerShell:
Win + X
and select Windows PowerShell.Run the Command:
Type one of the following commands and press Enter:
python --version
or
py --version
View the Output:
Open Terminal:
Ctrl + Alt + T
(Linux).Run the Command:
Type the following command and press Enter:
python3 --version
View the Output: