Answer:
A B D
Explanation:
i just answered the question and got it right edge 2020
Consensus Building is NOT a technique that you can use to help you in identifying a problem.
The fix to the problem in the code is as follows:
def sum(a, b):
total = a + b
print(total)
sum(1, 0)
<h3>How to determine the problem and the fix to the problem?</h3>
The code is given as:
def sum(a, b):
total = a + b
print(total)
sum(total, a)
sum(1, 0)
When the above code is run, one or both of the following would occur
- An infinite loop because the program cannot end the recursion
- An error when the maximum memory is used
The problem in the code is that, the recursive function do not have a condition to end itself.
The fix to the problem is to remove the recursive definition.
So, we have the fixed code to be
def sum(a, b):
total = a + b
print(total)
sum(1, 0)
Read more about python programs at:
brainly.com/question/26497128
#SPJ1