unique_emails(emails) that takes a list of email strings and returns the number of distinct addresses. Comparison must be case-insensitive: A@x.com and a@x.com count as one address.unique_emails(['a@x.com', 'A@x.com', 'b@x.com'])
2
The two variants of a@x.com collapse to one after lowercasing.
Lowercase each address before adding it to a set.
len() of the set is the answer.