Which of the following is a wrong way of defining a function:-
a)def f(x=10, y=20, z=30)
b)def f(x, y, z)
c)def f(x=10, y, z)
d)def f(x, y=20, z=31).
Answers
Answered by
1
Answer:
I think its A,C, and D
Explanation:
when you make a function, you can only put the parameters inside the parentheses, THEN, you do print(f(10,20,30)
Answered by
1
b is correct answer others are wrong
Similar questions