how to check python version in notebook code example
Example 1: python print version
import sys
print(sys.version)
Example 2: python version command notebook
import platform
print(platform.python_version())
Example 3: find python version in jupyter notebook
from platform import python_version
print(python_version())