[Tutor] functions in Python

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


On Mon, Apr 17, 2006 at 05:02:07PM +0100, Adam wrote:
> The x is a name for a value that you pass in to the function. To call
> the first function you would do
> >>> func()
> 
> and the second function:
> >>> func(5) # 5 is just an example it could be any value depending on
> the function.

Sorry but it is very confusing, couldn't get it at all.
With warm regards,
-Payal



More information about the Tutor mailing list