check python version colab
# --------------------------------------
# OUTPUT 19/07/2021: 3.7.11
# --------------------------------------
import sys
print(sys.version)
# ----------------------[alternative]---
!python --version # checks version from command line