newbie question

Sean 'Shaleh' Perry shaleh at speakeasy.net
Wed Dec 31 20:24:24 EST 2003


On Wednesday 31 December 2003 16:51, engsolnom at ipns.com wrote:
> Try getting rid of the 'return'
> Norm
>

you are right, the return here is not needed.

A return statement is only required when:

a) you want to leave a function early

b) you actually want to return something





More information about the Python-list mailing list