Ricardo Aráoz wrote:
> Kent Johnson wrote:
>> funcB(len(a)-L) does not do what the OP requested. For example if len(a)
>> is 10, L will be 3 and you will call funcB(7).
>>
> 
> Don't get it. The 3 is because the len(a) is 3, notice that a is hard
> coded and not a parameter. If you change 'a' then you should change the
> code accordingly.

Right, my mistake.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to