Computer Science, asked by radhikat2007, 3 months ago

Write a Python program to get the Python version you are using.​

Answers

Answered by Ijack
0

Answer:

A tuple containing the five components of the version number: major, minor, micro, releaselevel, and serial. All values except releaselevel are integers; the release level is 'alpha', 'beta', 'candidate', or 'final'. The version_info value corresponding to the Python version 2.0 is (2, 0, 0, 'final', 0). The components can also be accessed by name, so sys.version_info[0] is equivalent to sys.version_info.major and so on.

Note : 'sys' module provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter.

Explanation:

GO PROGRAMER GO ........

Answered by 7manakraj
0
Go to command prompt and write “python” you will get your version
Similar questions