I'm unable to get the unique items in my dictionary please anyone help it......
test_list={ 'Rahul': {'Permanent Roomates': 2, 'Inside Edge': 3, 'Four More Shots Please': 3, 'Sacred Games': 3, 'Apharan': 2, 'Mirzapur': 3}, 'Rishabh': {'Permanent Roomates': 3, 'Inside Edge': 3, 'Sacred Games': 5, 'Mirzapur': 3, 'Apharan': 3}, 'Sonali': {'Permanent Roomates': 2, 'Inside Edge': 3, 'Sacred Games': 3, 'Mirzapur': 4}, 'Ritvik': {'Inside Edge': 4, 'Apharan': 2, 'Sacred Games':4 }, 'Harshita': {'Permanent Roomates': 4, 'Inside Edge': 4, 'Four More Shots Please': 2, 'Sacred Games': 3, 'Mirzapur': 3, 'Apharan': 2}, 'Shubhi': {'Permanent Roomates': 3, 'Inside Edge': 4, 'Mirzapur': 3, 'Sacred Games': 5, 'Apharan': 3}, 'Shaurya': {'Inside Edge':4, 'Apharan':1, 'Sacred Games':4}} res = list(set(val for dic in test_list for val in dic.value())) print("the unique value in list: " + str(res)) # Q - Extract