Function and Arguments
XII class notes...., Arguments and parameters.... Arguments are the values which are passed while calling a function. Parameters are the values which are provided at the time of function definition e. g. def sum(a,b): .......,...>parameters s=a+b return s x = 12 y = 56 t = sum( x, y) ...............> arguments Type of arguments...... There are 4 types of arguments.. 1) Required / Positional arguments Arguments passed to a function in correct positional order, no. of arguments must match with no. of parameters required e.g def sum(a,b): .......,...> 2 parameters s=a+b return s x = 12 y = 56 t = sum( x, y) ............> 2 arguments In above example argument x is copied to para...