Which of the function calls will cause error while invoking the below
function definition? def test (a,b,c,d):
test(1,2,3,4)
test(a=1,b=2,c=3,4)
test(a=1,2,3,4)
test(a=1,b=2,c=3,d=4)
Answers
Answered by
3
First thing your question is wrong the test function should have some operations to do if I add print(a, b, c, d) in that function it will right.
Secondly all options are wrong except first one.
Answered by
0
Explanation:
I think option 2 is the answer.
Reason: Because non default arguments should not follow default arguments
Hope it helps you.
Mark me as brainlist
AND
f.o.l.l.o.w m.e
Similar questions
Math,
4 months ago
Social Sciences,
4 months ago
Math,
4 months ago
English,
9 months ago
Physics,
9 months ago
Math,
1 year ago
History,
1 year ago
Environmental Sciences,
1 year ago