python: make item unique until it does not match item in list code example Example: python all elements not in list [x for x in item if x not in z]