I am trying to complete the W1 graded assignment and have been having many issues implementing the get_sub_volume function. I have tried everything I could but am getting the error “UnboundLocalError: local variable ‘learner_func_answer’ referenced before assignment.” Please, can anyone help me?
(not a mentor for that course)
General tip: Every time you open a notebook, you must run all of the cells in order starting from the top. That’s where the resources are imported and the workspace is built.