Python platform.release()














































Python platform.release()




Description: 

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

Syntax:

platform.release()

No parameters are required.


Example: Program to display the system's release.


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


Output: 


Comments