I tried to code the following math function in Exercise 1 of C3_W2 Assignment:
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.