The Submission is giving All tests passed but giving error in exercise 1 and 2 stating output is not matching. After adding print statement it is showing that is matching what is expected but still scoring 41 only.
It’s better to post the grader’s error (text) here so mentors can see it! Be careful of hard-coding values in these assignments!
Passing the tests in the notebook does not prove your code is perfect. The grader uses entirely different tests.