Question: 4.) Explain what is wrong with the following function. Then fix the function so that it works: [ begin{array}{r} text { def add_args }(x, y,
4.) Explain what is wrong with the following function. Then fix the function so that it works: \[ \begin{array}{r} \text { def add_args }(x, y, z): \\ \text { return } x+y+z \end{array} \] print('The answer is:', x+y+z )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
