Python platform.version()














































Python platform.version()




Description: 

    The version() function is used to retrieve the system's release version information, if the value cannot be determined it returns an empty string.

Syntax:

platform.version()

No parameters are required.


Example: Program to display the system's release version.


#import module
import platform
#displaying system release version
print("Current system release version is:",platform.version())


Output: 


Comments