I have list of objects in Python. Each object contains own list. The list contains some categories of that object eg.
[\'A\', \'A\', \'B\', \'-\', ... , \'B\'