[Tutor] Lists...

Andrew Wilkins toodles@yifan.net
Thu, 31 May 2001 17:03:02 +0800


> If it's possible to sort both lists of numbers, then taking the
> intersection of two sorted lists isn't too bad either; what kind of things
> will your lists contain?

They'll just contain positive integers, sorry for not mentioning
earlier...I'll try to be a little less abstract in future! But it really
doesn't need to be sorted, I just want to know whether any of list a's
elements are contained in list b. The solutions I've got already are great,
so don't worry about this one anymore. Thanks!

Andrew Wilkins

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