Ross <ross.j...@gmail.com> writes:
> Can you guys suggest an approach to this problem...I'm trying to teach
> myself python so an outline of how to approach this would probably be
> more helpful to me than an explicit solution. I'll cry mercy if I
> can't figure it out after your hints.

Look at the "set" datatype.  Think of making some sets of integers
and finding their unions and intersections as appropriate.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to