he has created a duplicate post here again as he already created the post, please refer this
according to the earlier codes, he seems to have edited codes and section of grade function beyond what he is suppose to.
@Dhyan please don’t create multiple topics for same issues
did you follow what @TMosh advised you in that post. You are suppose to get a fresh copy of the notebook and re-do your assignment. But make sure only to write codes between the assigned markers ###START AND END CODE HERE###
EDITING OR DELETING ANYTHING OUTSIDE THESE MARKERS CAN CAUSE GRADE FAILURE.
Also as per what you shared, your codes are too complicated than it should be. Refer the sections in instructions, if still not sure, DM the codes to @gent.spah so he can review your codes.