Your list "targets" contains some values twice.

>>> targets=[97,101,139,41,37,31,29,89,23,19,8,13,131,19,73,97,19,139,79,67,61,17,113,127]
>>> for t in set(targets):
...     if targets.count(t) > 1: print t
... 
97
139
19

It looks like the "duplicated" items in the output contain one of the
duplicated items from the input.

Jeff

Attachment: pgpqzHdpM3xQ3.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to