Unique characters: Difference between revisions
Content added Content deleted
m (→{{header|Python}}: (slightly simplified a test)) |
|||
Line 802: | Line 802: | ||
''' |
''' |
||
return [ |
return [ |
||
h for h, (_, *tail) in |
|||
groupby(sorted(chain(*xs))) |
groupby(sorted(chain(*xs))) |
||
if |
if not tail |
||
] |
] |
||