def calculate_points(record):
    """Calculate league points per provided team record.
    Points are earned as follows: win 3 points, draw 1 point
    loss 0 points.

    Parameters:
        record (list): list of wins, draws, and losses

    Returns
        int: total league points earned
    """

    return record[0] * 3 + record[1]