Tigers Scorecard

Last Updated:
Tigers logo
HoleWinsLossesScore+13
13643+9(-2)
104140+13(+2)
Avg3942+38

Analysis

Here is a Python script that parses the text and outputs the number of games won by each team:

import re

data = """
... (insert data here)
"""

teams = {'Detroit Tigers': 0, 'Minnesota Twins': 0, 
         'Kansas City Royals': 0, 'Chicago White Sox': 0,
         'Cleveland Indians': 0, 'Texas Rangers': 0,
         'Boston Red Sox': 0, 'New York Mets': 0,
         'Houston Astros': 0, 'Seattle Mariners': 0,
         'Baltimore Orioles': 0, 'Atlanta Braves': 0}

for line in data.split('\n'):
    if line:
        teams_to_update = re.findall(r'\b(\w+)\s+?\w+\b', line)
        
        for team in teams_to_update:
            if team == 'Detroit Tigers':
                teams[team] += 1
            elif team == 'Minnesota Twins' or team == 'Kansas City Royals':
                teams['Minnesota Twins'] += 1
                teams['Kansas City Royals'] += 1
            elif team == 'Chicago White Sox':
                teams['Chicago White Sox'] += 1
            elif team == 'Cleveland Indians':
                teams['Cleveland Indians'] += 1
            elif team == 'Texas Rangers':
                teams['Texas Rangers'] += 1
            elif team == 'Boston Red Sox' or team == 'New York Mets':
                teams[team] += 1
            elif team == 'Houston Astros':
                teams['Houston Astros'] += 1
            elif team == 'Seattle Mariners':
                teams['Seattle Mariners'] += 1
            elif team == 'Baltimore Orioles':
                teams['Baltimore Orioles'] += 1
            elif team == 'Atlanta Braves':
                teams['Atlanta Braves'] += 1

print('Final Score:')
for team, wins in sorted(teams.items(), key=lambda x: x[1], reverse=True):
    print(f'{team}: {wins}')

This script uses a regular expression to extract the names of the teams from each line of the data. It then updates the corresponding value in the teams dictionary for each team that is mentioned on the same line.

The final score is printed out, with the teams listed in order of most wins first.

Please note that this script assumes that the data is formatted consistently and that there are no extra lines or whitespace. If your data has a different format, you may need to adjust the regular expression accordingly. Updated: June 27, 2025 at 12:16 AM