Week 1 Programming Assignment 1- Error in grades?

Hi,

Is it possible that the notebook shows ‘All tests passed’ in all the cells, yet the grader says failed in 2 cells ?

Yes, that’s entirely possible. The grader tests your code using a totally different set of data.

First check whether you have used any hard-coded values in your code