Newbie question

Paul Osman paul.osman at sympatico.ca
Tue Apr 16 14:36:17 EDT 2002


Lloyd Zusman wrote:

>>[ ... ]
>>
>><code>
>>num = 5
>>def dummy():
>>    newnum = num + 5
>>    return num
>></code>
>>
>>[ ... ]
>>
>
>I think that you meant to type this:
>
>    return newnum
>
I did indeed... thanks for catching that, the example would be rather 
useless otherwise. :)

Cheers,
Paul Osman






More information about the Python-list mailing list