C3_W2_Collaborative_RecSys_Assignment - deleted post

I tried to code the following math function in Exercise 1 of C3_W2 Assignment:

Screen Shot 2022-09-19 at 4.01.23 PM

After I check the hints of the exercise, I know my code wrong in some way. I already used the debugger of Pycharm to look for any logic flaw. But I really can not figure why my code did not work.

Any help or suggestions were appreciated. Thank you.

Hi @PHX,

Please share the error traceback but not your assignment code. I am removing it.

Raymond