> I confused things by my mistake in the specifications. > > The criterion for exiting the outer loop is that > > mpylist[0][1] * mult[0] + mpylist[1][1] * mult[1] + mpylist[2][1] * > mult[2] > + . . . > > be > zlim.
Can you try rewriting the spec correctly, because I'm still not sure I understand it? Are you now saying that mpylist[n][0] is never used? Can you show us some sample data structures - just a few entries and how the calculations should work? Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor