def print_version():
    """
    Print get_version() return value in a readable format.

    Params:
        None

    Returns:
        None
    """
    v = get_version()

    try:
        s = _STR_WIN[v]
    except KeyError:
        s = "Unknow OS"

    print("-----------------------------------------------------------")
    print("###################### WinVer Report ######################")
    print("Python Version                           : {}.{}.{}".format(*sys.version_info[:3]))
    print("Windows Version String                   : {}".format(s))
    print("Windows Major Version                    : {}".format(v[0]))
    print("Windows Minor Version                    : {}".format(v[1]))
    print("Windows Service Pack (or Build) Version  : {}".format(v[2]))
    print("Is Windows Server                        : {}".format('Yes' if v[3]==1 else 'No'))
    print("Is Windows 10 (or Windows Server 2016)   : {}".format('Yes' if v >= WIN_10 else 'No'))
    print("-----------------------------------------------------------")
def print_version ( ) : v = get_version ( ) try : s = _STR_WIN [ v ] except KeyError : s = "Unknow OS" print ( "-----------------------------------------------------------" ) print ( "###################### WinVer Report ######################" ) print ( "Python Version                           : {}.{}.{}" . format ( * sys . version_info [ : 3 ] ) ) print ( "Windows Version String                   : {}" . format ( s ) ) print ( "Windows Major Version                    : {}" . format ( v [ 0 ] ) ) print ( "Windows Minor Version                    : {}" . format ( v [ 1 ] ) ) print ( "Windows Service Pack (or Build) Version  : {}" . format ( v [ 2 ] ) ) print ( "Is Windows Server                        : {}" . format ( 'Yes' if v [ 3 ] == 1 else 'No' ) ) print ( "Is Windows 10 (or Windows Server 2016)   : {}" . format ( 'Yes' if v >= WIN_10 else 'No' ) ) print ( "-----------------------------------------------------------" )
Print get_version() return value in a readable format.

    Params:
        None

    Returns:
        None