def generate_file_name(year_lst):
    """Generate a csv title including the years being scraped

    Args:
        year_lst (list): list containing the years being scrapped.

    Returns:
        str: csv file name specific to the years being scrapped.
    """    
    return f"{year_lst[0]}-{year_lst[-1]}_Team_Stats.csv"