"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> you forgot enumerate()

Oh, oops.

> and if you fix that, you'll notice that the output doesn't quite match
> the OP's spec:
> 
>     > what I am looking for is the unique elements 0.4 and 0.9 with their
>     > index from the list.

Oh, I see, he wanted the elements that only occur once.  I misunderstood.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to