Grader error -> Cant't Compile Cell #7

When submitting my code I get the following error:

Cell #7. Can’t compile the student’s code. Error: TypeError(“unsupported operand type(s) for +: ‘NoneType’ and ‘int’”,)

Hi @gautamaltman,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.

Thanks,
Mubsi

@Mubsi, Thank you so much for checking out my notebook! My lab id is jmjrirhq, but I have a couple different notebooks, the one with the issue I reported is “C1M3_Assignment_da.ipynb” in the week 3 folder, but now I see the problem.

I think the issue was trying to submit my renamed notebook! Now I submit the identical code in the default notebook and get 4/6 from the grader. I’m still having issues with:
Code Cell
UNQ_C1: Function ‘get_sub_volume’ is incorrect. Check implementation.
Any tips would be greatly appreciated!

Hi @gautamaltman,

Your mistake was in setting up start_x, start_y, start_z. As per the hint, # hint: make sure to leave enough room for the output dimensions!, you were not leaving enough space for the output dimensions. I have fixed your mistake.

Best,
Mubsi

You are awesome! Thank you for pointing that out to me!

1 Like