A, B, C, D = 'ABCD'
lst = [{A: 1, B: 2, C: 3, D: 4}, {A: 5, B: 6, C: 7, D: 8}, {A: 1, B: 9, C: 
    3, D: 10}]
How to remove duplicate dictionary based on selected keys from a list of dictionaries in Python?