def format_platform(platform):
    """Return formatted uppercase or capitalized platform value"""

    if platform == "linux" or platform == "windows":
        return platform.capitalize()
    else:
        return platform.upper()