i looks fine but when i submit there are several test cases which are not working with my solution.
can you modify my code and tell me where i am going wrong with which specific test cases.
3 test cases are passed, what the problem?
here’s the updated one