NIELIT O Level Exam

Which of the following functions can help us to find the version of python that we are currently working on?

Which of the following functions can help us to find the version of python that we are currently working on?

निम्नलिखित में से कौन सा फ़ंक्शन हमें वर्तमान में काम कर रहे Python के वर्जन को फाइंड करने में हेल्प कर सकता है?

A. sys.version

B. sys.version()

C. sys.version(0)

D. sys.version(1)




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.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad