"Andrei" <[EMAIL PROTECTED]> wrote

> Alternatively, you could put the results as keys in a dictionary, 
> then request
> mydict.keys() to get a list of unique outcomes.

I thought of that too, but couldn't think how to do it in a list
comprehension. It seemed like it should be possible but I
couldn't think of how - and didn't have a python interpreter
handy...

Alan G. 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to