How to Check Version in Python?

`python –version`

`python -V`

`python3 –version`

`python3 -V`

`py –version`

`python -c “import sys; print(sys.version)”`

`python -c “import platform; print(platform.python_version())”`

`import sys; print(sys.version)`

`import platform; print(platform.python_version())`

Suggested for You

Trending Today