C1W2 Gaussian elimination Exercise 1 pass all test, but shows 0

Hello everyone! I have problem in assignment.My exercise 2,3 is correct, but I have problem with 1st. I do my course in Coursera. My exercise 1 pass all tests, but it is 0 always. Why?

w2_unittest.test_reduced_row_echelon_form(reduced_row_echelon_form)

[0. 0. 0.]
[0. 0.]
[0.]
[0.]
** All tests passed**

1 Like

Maybe you have some redundant print statement. How many times you have this printed in the output?

1 Like

I checked my code many times. Tbh I restarted my code again and added row by row. Can I send to your mail code and you say what is wrong?

1 Like

Note that students are not allowed to share their code. That would break the Code of Conduct.

I am confused. How would this impact the unit test?

Note that Exercise 1 is pretty complicated, there are a lot of small issues that can cause problems.

Check your personal messages for instructions.