Send Close Add comments: (status displays here)
Got it!  This site "www.robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Python version
by RS  admin@robinsnyder.com : 1024 x 640


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

The values are returned as a "tuple" or sequence of values. A tuple is like a list except that it is immutable (not changeable) so it can be hashed as an index (e.g., for a dictionary).

Note how the underscore "_" can be used as a placeholder for values that are not needed. Here is the Python code [#1]

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

by RS  admin@robinsnyder.com : 1024 x 640