[Tutor] globals( ) and binding doubt (newbie) !

Kirby Urner urnerk at qwest.net
Tue Jan 8 10:43:05 EST 2002


>
>thanks for your patience!
>karthik

Not exactly sure what's going on here, but note that
if you don't explicity return a value from a function
(print a doesn't count -- that's not returning), the
the function returns None.

In the examples you give, your functions behave as
they were defined, by returning None.

Kirby





More information about the Python-list mailing list