sscasc@tumkur herein the function definitionwe pass the list to the pass_ref function and then we extend the list to add two more numbers to the list and then print its value the list extends inside the functionbut the change is also reflected back in the calling function we finally get the output by printing out different representations of the listlet' look at another exampledef func( ):#call by value function = + print ("inside the function"aa func(aprint ("outside the function"athe preceding example call by valueas the change happening inside the python function does not get reflected back in the calling function it is still pass by referenceasin this situation inside the functionwe made new assignmentthat isaa+ although you might think that is changing the number stored in abut it is actually reassigning to point to new valuereturning multiple values from function in python functionwe can return multiple values we can use return statements as return , , here , , values returned by function as tuples and we have to use three variables to receive these values in called function as shown below , , =function(example:sum_sub_mul def sum_sub_mul( , )sum= + sub= - mul= * return sum,sub,mul def main() = = , , =sum_sub_mul( ,bprint("sum of two no=",xprint("sub of two no=",yprint("mul of two no=",zprint("sumsub and mul of two no:" =sum_sub_mul( , )#retrieving multiple value using tuples for in tprint( ,end='\ 'main(output sum of two no sub of two no mul of two no sumsub and mul of two no sp_python programming