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.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad