Check — Python Version On Linux
python3 -c "import sys; print(sys.version)" ls /usr/bin/python* or
1. Check Python 3 Version Most modern Linux distributions come with Python 3 pre-installed. check python version on linux
python2 --version or
python3 -VV or