Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Python version


1. Python version
The sys library can be used to get the version of Python under which the program is being run. Here is the Python code.

Here is the output of the Python code.

Note that the results depend on the installed version of Python used to run the program.

2. End of page