def returnNotMatches(a, b):
    return [[x for x in a if x not in b], [x for x in b if x not in a]]

def NotInPriceFile(price,bill):
    return [x for x in price if x not in bill]

def NotInBillFile(price,bill):
    return [x for x in bill if x not in price]
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter