It could be a very good "homework assignmet". This is for a real application.
each item in the list represent two terminals of a resistor. All the resistors in the list are shorted, I need to figure out how many independent nets are there. JD On Oct 17, 4:16 pm, Paul McGuire <[EMAIL PROTECTED]> wrote: > On Oct 17, 3:20 pm, JD <[EMAIL PROTECTED]> wrote:> Hi, > > > I need help for a task looks very simple: > > <snip> > > I smell "homework assignment". > > -- Paul -- http://mail.python.org/mailman/listinfo/python-list