How to get the difference between two list in Python Use the in keyword Use set.difference() Use set.symmetric_difference()