Q. From the program code given below, identify the parts mentioned below:
def processNumber(x):
x = 72
return x + 3
y = 54
res = process Number (y)
Identify these parts: function header, function call, arguments, parameters, function body, main program
Answer :-
Function header :- def processNumber (x):
Function call :- processNumber(y)
Arguments :- y
Parameters :- x
Function body :-
x = 72
return x + 3
Main program :-
y = 54
res = processNumber (y)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )