Unique characters in each string: Difference between revisions

m
m (Python example)
Line 169:
 
=={{header|Python}}==
<lang python>listLIST = ["1a3c52debeffd", "2b6178c97a938stf", "3ycxdb1fgxa2yz"]
 
print(sorted([ch for ch in set([c for c in ''.join(listLIST)]) if all(w.count(ch) == 1 for w in listLIST)]))
</lang>{{out}}
<pre>
4,102

edits