def parse_team_score(team_score):
    """Parse a single team score to a team name and integer score

    Parameters
    ----------

    team_score : str
        e.g. "Team A 3"

    Returns
    -------

    (team_name, score)
    team_name : str
        e.g. "Team A"
    score : int
        e.g. 3

    """
    team_name, score = team_score.rsplit(' ', 1)
    score = int(score)
    team_name = team_name.strip()

    return team_name, score