check jupyter version code example
Example 1: get python version jupyter
from platform import python_version
print(python_version())
Example 2: find python version in jupyter notebook
from platform import python_version
print(python_version())