venture of iit bombay vjti alumni the statement return [expressionexits functionoptionally passing back an expression to the caller return statement with no arguments is the same as return none all the above examples are not returning any value you can return value from function as follows #!/usr/bin/python function definition is here def sumarg arg )add both the parameters and return them total arg arg print "inside the function "total return totalnow you can call sum function