sir why m y code is failing test case 4??
Hello @YASHMATHURIA123,
I have corrected your code:
Refer to comments.
Hope, this would help.