Dear Chris, Thank you very much for you reply... For a newcomer to Python the Hell is in the details... :-).
You are absolutely right... and I just used the index instead of the value. Regarding you other (most relevant) comments, I absolutely agree... BUT in those cases... I was aware :-). But since it is in fact an exercise... and having N^2 operations... is not important. Still your comments are quite pertinent. Once again, Thank you and best regards ACombo -- http://mail.python.org/mailman/listinfo/python-list