I need help with this assignment. The output I am getting is different from the expected output. I keep on getting the same answer even if I run the code on my local environment and manual calculation

Are you still having difficulty with this assignment?

Yes please

Please check your personal messages for instructions.