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())

Another Way is by making use of the sys module.
Example:import sys
print(sys.version)

I have used the above example to know the Python Version running on Google Colab Notebook.
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!