Python Multiple Choice Questions
Which of the following functions can help us to find the version of python that we are currently working on?
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.
© 2022-2023 Python Circle