Thanks very much for the advice, have tidied it up and tested and seems 
to be working as needed.  I'm still not sure what was stopping the inner 
loop from working earlier - but removing the redundancy in "j=0" and so 
on seems to have solved it.

Matt

Dennis Lee Bieber wrote:
>       If that worked, you've got some weird code -- and it isn't what was
> posted... Zeroing "j" does NOTHING, since the for loop assigns all
> values to it, from 0..n-1
> 
>       for loop indices do not need to be pre-initialized.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to