C1W2 Exercise 2

In Week 2 PROGRAMMING EXERCISE 2
Back substitution function.I found the index having value in substituion matrix but when it calls to find the value at row to reduce index then it gives error i.e. An exception was thrown while running your function: ‘int’ object is not subscriptable.
Input matrix:
[[1 0 0 5]
[0 1 0 6]
[0 0 1 7]]
What should i do?

There is an error in your code, regarding some incorrect index value.

Get the row to be reduced. The indexing here is similar as above, with the row variable replaced by the j variable.
what does this mean in same exercise

Please post a screen capture image of that part of the notebook.