present version of python code example Example 1: python version python ––version Example 2: python check version python --version