So heres my code:
item = [0,1,2,3,4,5,6,7,8,9]
for item in z:
if item not in z:
print item
Z contains a list of integers. I want to compare item to Z and print out the numbers that are not in Z when compared to item. I can print the elemtens that are in Z when compared not items, but when i try and do the opposite using the code above nothing prints.
Any help?