Cannot solve Gaussian Eliminination Programming Assignment Week 2

Please I have gone through the instructions over and over but I cannot solve the first task.
Help please

What results are you getting? Please post a screen capture image.

Note: Do not share your code, just your results from running your code.

The error there is telling you that pivot_candidate is supposed to be a scalar value, but it is actually an array. So how could that happen?

It means I am representing the pivot_candidate as an array instead of a scalar. Let me correct myself