Python3 | Hash word count associated with a sender's name then return max
\nclass Solution:\n    def largestWordCount(self, messages: List[str], senders: List[str]) -> str:\n        words_count = defaultdict(int)\n        for m, perso
```\nclass Solution:\n    def largestWordCount(self, messages: List[str], senders: List[str]) -> str:\n        words_count = defaultdict(int)\n        for m, person in zip(messages, senders):\n            words_count[person] += len(m.split())\n                \n        max_len = max(words_count.values())\n        \n        names = sorted([name for name, words in words_count.items() if words == max_len], reverse=True)\n        return names[0]\n```
['Python', 'Python3']