Q. Write the term suitable for following description:
(a) A name inside the parentheses of a function header that can receive a value.
(b) An argument passed to a specific parameter using the parameter name.
(c) A value passed to a function parameter.
(d) A value assigned to a parameter name in the function header.
(e) A value assigned to a parameter name in the function call.
(f) A name defined outside all function definitions.
(g) A variable created inside a function body.
Answer =
(a) Parameter.
(b) Keyword argument.
(c) Argument.
(d) Default argument.
(e) Keyword argument.
(f) Global variable.
(g) Local variable.
Isn't the answer for d)default parameter
ReplyDeleteIt is correct. Please read question carefully.
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )