code: def get_python(cls):
          
          python_version = sys.version_info[:3]
          v_string = [str(i) for i in python_version]
          python_version_s = '.'.join(v_string)
  
          # pip_version = pip.__version__
          pip_version = Shell.pip("--version").split()[1]
          return python_version_s, pip_version
docs: returns the python and pip version
          :return: python version, pip version