def wnba_points_made(row):
    """
    function to calculate the points earned by a team with each shot made

    Inputs:
    row - row of pbp dataframe

    Outputs - value of shot made
    """
    if row['is_three'] == 1 and row['shot_made'] == 1:
        return 3
    elif row['is_three'] == 0 and row['shot_made'] == 1 and row['etype'] != 3:
        return 2
    elif row['etype'] == 3 and row['shot_made'] == 1:
        return 1
    else:
        return 0
