Python beat 99.87%
\nclass Solution:\n    def numUniqueEmails(self, emails: List[str]) -> int:\n        if not emails:\n            return 0\n        addrs = set()\n        for em
```\nclass Solution:\n    def numUniqueEmails(self, emails: List[str]) -> int:\n        if not emails:\n            return 0\n        addrs = set()\n        for email in emails:\n            addr = email.split(\'@\')\n            local_name = addr[0].split(\'+\')\n            local_name = local_name[0].replace(\'.\', \'\')\n            addrs.add(local_name + \'@\' + addr[-1])\n        return len(addrs)\n```
[]