Leetcode -
Solution: Leetcode 682 Solving a Baseball Scoring Puzzle with Python
You are keeping the scores for a baseball game with a unique set of rules. At the beginning of the game, you start with an empty record. You're given a list of strings operations, where each element represents an operation to apply to the record.