I have the following function it is returning the output but I want the expected output. I think it will be a very simple thing I am missing pl