# HG changeset patch # User Puneeth Chaganti # Date 1274176625 -19800 # Node ID 67c4a2c75aee511c7821cb31778b95bcb42f0069 # Parent ca292a5b83c75d81e7f6346afb6bb6f14a42165c# Parent ed29ffa37cdca6806af7d86647e85b0c2e3d9a47 Merged heads. diff -r ca292a5b83c7 -r 67c4a2c75aee functions_.txt --- a/functions_.txt Tue May 11 08:27:24 2010 +0530 +++ b/functions_.txt Tue May 18 15:27:05 2010 +0530 @@ -9,5 +9,5 @@ We have given the function the name signum . Essentially what it does is that based on whether the no is 0 , negative or positive , it returns 0 , -1 and +1 respectively . In this case it recieves value of the no in variable r . -In the beginning of the function you can see a triple quoted string . This is called a docstring . You can write some documentation related to your function. In this you can have the function parameters and what it returns . A python function returns a value by using the keyword return . +In the beginning of the function you can see a triple quoted string . This is called a docstring. You can write some documentation related to your function. In this you can have the function parameters and what it returns. A python function returns a value by using the keyword return.