def format_string(console):
    """
    This function accepts a string of video game console data, delmited by commas (e.g. an
    element from <vg_consoles>), and returns a formatted string.

    Parameters:
        - console (str): A string containing all of the information on the console (i.e.
            an element from <vg_consoles>).

    Returns:
        - (str): A string that has formatted the information from <console> in the following
            format:

            "<Console name> was produced in <Release year> by <Production company>"
    """

    pass
    return f"{console.split(',')[0]} was produced in {console.split(',')[3]} by {console.split(',')[1]}"