Answer:
(a) The output is -1
(b) The output is 32
Explanation:
Given: The above code
Solving (a): The output when 1, 1 and 1 is passed to the function
From the question, we have: print(mystery(x))
This means that only the value of x (which in this case is 1) will be passed to the mystery function
(a, b = 8, c = -6) will then be seen as: (a = 1, b = 8, c = -6)


<em>The output is -1</em>
Solving (b): The output when 8, 6 and 4 is passed to the function
From the question, we have: print(mystery(x,y,z))
This means that values passed to the function are: x = 8, y = 6 and z = 4
(a, b = 8, c = -6) will then be seen as: (a = 8, b = 6, c = 4)


<em>The output is 32</em>