the function name and number of parameters must be same in the function call and function definition when the number parameters passed doesn' match with the parameters in the function definitionerror is generated names of arguments in the function call and function definition can be different arguments can be passed as expressions the expression will get executed first and then the value is passed to the formal parameter the parameter list must be separated by commas if the function returns value it must be assigned to some variable in the calling function let' consider the following example which demonstrates function definition and function call#program without parameters def sample()""this is sample program created by prashanthi""print("hello"print("python"sample(#program with parameters def add( , )""this is sample program for addition""print( +ba= = add( , #different parameters in function header and function call def add( , )""this is sample program for addition""print( +ya= = add( ,bfunctions returning value(fruitful functionsa function may or may not return value to return valuewe must use return statement in the function definition every function by default contains an implicit return statement as the last line which returns none object to the calling function the functions which returns value is called fruitful functions return statement is used for two reasonsreturn value to the caller to end the execution of function and give control to caller the syntax of return statement is as followsreturn(bv prasanthi dept of cse page