check python version in jupyter code example
Example 1: get python version jupyter
from platform import python_version
print(python_version())
Example 2: check package version jupyter python
import packagename
print(packagename.__version__)
Example 3: python version command notebook
import platform
print(platform.python_version())
Example 4: find python version in jupyter notebook
from platform import python_version
print(python_version())