I have little problem with python's Counter library. Here is an example:
from collections import Counter
list1 = ['x','y','z','x','x','x','y', 'z']
print(Counter(list1))
Output of it:
Counter({'x': 4, 'y': 2, 'z': 2})
My question is how to receive the output without quantity of repetitions?
What I want to get is:
Counter('x', 'y', 'z')