How to Know Which Python Version Installed on Jupyter Notebook

If you are making use of a Python Jupyter Notebook and you want to know which version of Python it is running on, you can try to write a small snippet of code in a cell and easily find out,


Example Code

    from platform import python_version
    
    print("The Python Version is: ", python_version())
    Know Python Version Installed with Jupyter Notebook


    Another Way is by making use of the sys module.

    Example:
    import sys
    print(sys.version)
    Python Version Google Colab

    I have used the above example to know the Python Version running on Google Colab Notebook.

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!