sscasc@tumkur value is referred to as an actual parameter or argument parameters are optionalthat isa function may not have any parameters statement(salso known as the function body are nonempty sequence of statements executed each time the function is called this means function body cannot be emptyjust like any indented block some functions return valuewhile other functions perform desired operations without returning value if function returns valueit is called valuereturning function calling function calling function executes the code in the function in function' definitionyou define what it is to do to use functionyou have to call or invoke it the program that calls the function is called caller there are two ways to call functiondepending on whether or not it returns value if the function returns valuea call to that function is usually treated as value for examplelarger max( calls max( and assigns the result of the function to the variable larger another example of call that is treated as value is print(max( )this prints the return value of the function call max ( examplereturn the max of two numbers function with arguments and return def max(num num )if num num result num elseresult num return result def main() sp_python programming