fir3net

PPS-Firenetbanner-780.5x190-30-03-17

Python - Show differences between 2 Lists

Below shows you how to compare and show the differences between 2 lists by using the set command,

>>> set([1563, 1564, 1565, 1566, 1567]).symmetric_difference([1563, 1564, 1565, 1566, 157])
set([1567, 157])