[Tutor] functions in Python

Payal Rathod payal-python at scriptkitchen.com
Mon Apr 17 19:03:41 CEST 2006


On Mon, Apr 17, 2006 at 05:10:51PM +0100, Robert Schumann wrote:
> You could say "I kick" (which is like func(), because you're not 
> specifying an object to operate on) or your could say "I kick the 
> ball" (in which case x = "the ball").
> 

Sorry, but you have confused me more ;)
Can you give an simple example of just function() ?
Where can it be useful?

And when you say it returns a value, what do you mean by that? return to 
whom and what exactly?

With warm regards,
-Payal


More information about the Tutor mailing list