newbie question

Sean 'Shaleh' Perry shaleh at speakeasy.net
Thu Jan 1 02:24:24 CET 2004


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