Unique characters: Difference between revisions

Content added Content deleted
m (→‎{{header|Python}}: (slightly simplified a test))
Line 802: Line 802:
'''
'''
return [
return [
k for k, g in
h for h, (_, *tail) in
groupby(sorted(chain(*xs)))
groupby(sorted(chain(*xs)))
if 1 == len(list(g))
if not tail
]
]