I have a huge list. I have to find out duplicates of type and mean of there score. how I can I achieve this in Python. For example:
my_list = [type: PERSON, s