Please help on this question

Hi,

I have implemented this question and below is the screenshot. But it still says incorrect answer. can you please tell me why is this incorrect?

@himanshuaggarwal98 rather than give me the file in screenshot, please give it in a

code block

As is, I only have part of the file. I don’t have access to the question directly (that’s how things work with the Ultimate Mock Series questions, sadly), so if the information is not in your question, there’s almost nothing I can do to help you. If you do supply the file, I can try to run it and see what’s going on with it.