0

How to sort lists of dict's ?

I have two lists of dict's. L1 and L2. L2 have some dict which are also in L1. how to remove those common dict's from L2 ?

10th Apr 2017, 2:33 AM
Tapish kanodia
Tapish kanodia - avatar
1 ответ
+ 3
How about L2 = [x for x in L2 if x not in L1]
10th Apr 2017, 5:05 AM
Tob
Tob - avatar