To submit your work, you have to have runnable code for all of the parts of the assignment.
You can’t submit just part of the assignment.
There is a syntax error in that function which is causing the grader to crash.
Q1 But what when we are able to solve only some part of assignment and some part is left. Shouldn’t grader give marks to the parts when we have passed some test cases. Is it not possible to grade someone who completes assigment partially? For some assigments in earlier courses I was able to submit part of assignment and yet receive grade.
Q2 Also does the meaning of “you have to have runnable code for all of the parts of the assignment” is that we will be graded when all our solutions are correct?
Also for the code which I have written there was no syntax error when I ran it.
A1. You cannot submit an incomplete notebook. You at least have to get the code to run without syntax errors. Otherwise the grader will crash when it runs your notebook.
A2. You will be graded as long as your code doesn’t make the grader crash. Incorrect results will be graded zero - incomprehensible code will make the grader crash.