Unique characters: Difference between revisions

m
(→‎{{header|Python}}: Added a solution in Python)
Line 797:
 
# uniques :: [String] -> [Char]
def uniques(ksxs):
'''Characters which occur only once
across the list of given strings.
'''
return [
k for k, g in
groupby(sorted(chain(*ksxs)))
if 1 == len(list(g))
]
9,655

edits