Hello, Any way to display the count of the values in a dictionary where the values are stored as a list? here is my dictionary:
{'1': ['a', 'b', 'c'], '3': ['a', 'b', 'c'], '2': ['a', 'b', 'c'], '4': ['a', 'c']} I would like to display count as follows and I would not know all the value types in the values list: Value QTY a 4 b 3 c 4 Also is there anyway to display the count of the values list combinations so here again is my dictionary: {'1': ['a', 'b', 'c'], '3': ['a', 'b', 'c'], '2': ['a', 'b', 'c'], '4': ['a', 'c']} And I would like to display as follows QTY Value List Combination 3 a,b,c 1 a,c Once again all help is much appreciated. M.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor