[Tutor] design advice for function
Brian van den Broek
broek at cc.umanitoba.ca
Mon Dec 19 10:23:34 CET 2005
Danny Yoo said unto the world upon 2005-12-18 15:19:
>> > This is caused by the line: print adder(). Obviously
>> > if adder() doesn't receive any arguments, it can't
>> > build the lists resulting in an IndexError.
>>
>>Right.
>
>
> Hello!
>
> Just wanted to clarify the situation: argsList ends up being the empty
> list, which is a perfectly good value:
<snip>
Danny is, of course, perfectly correct. Apologies to the op for the
imprecision.
Once again, I vow never to post after 3:00. Oh, wait, it is 3:23!
<disappears in a puff of logic>
Brian vdB
More information about the Tutor
mailing list