Fork me on GitHub

  1. The use of return and global keywords.

    July 28, 2013

    Okay so here we have another post. This post is about the return keyword. you might have encountered some functions written in python which have a return keyword in the end of the function. Do you know what it does ? Lets examine this little function:

    >>> def add(value1,value2):
    ...     return ...
    read more