1.

Which of the following functions can help us to find the version of python that we are currently working on?(a) sys.version(b) sys.version()(c) sys.version(0)(d) sys.version(1)

Answer» The correct answer is (a) sys.version

Explanation: The function sys.version can help us to find the version of python that we are currently working on. For example, 3.5.2, 2.7.3 etc. this function also returns the current date, time, bits etc along with the version.


Discussion

No Comment Found