[Python]: Count AAA and BBB and "return AAA > BBB"
The basic idea here is that we count how many three consecutive AAA and BBB since Alice is only allowed to remove \'A\' if its neigbors are \'A\', i.e., AAA. Th
The basic idea here is that we count how many three consecutive AAA and BBB since Alice is only allowed to remove \'A\' if its neigbors are \'A\', i.e., A**A**A. Thus, we count how many \'AAA\' and \'BBB\' and whoever has more will defintely win since the other one will run out of characters to remove earlier/faster. \n\n``` \ndef winnerOfGame(self, colors: str) -> bool:\n        \n        count_AAA = count_BBB = 0\n        \n        for i in range(1, len(colors) - 1):\n            if colors[i-1] == colors[i] == colors[i+1] == \'A\':\n                count_AAA += 1\n            \n            if colors[i-1] == colors[i] == colors[i+1] == \'B\':\n                count_BBB += 1\n                \n        \n        return count_AAA > count_BBB\n\n```
['Python', 'Python3']