3rd Test Case is not being approved

I have written a function for which the third test case is not being approved.

@krishnamanohar199 hey krishna please save your code on the cb.lk/ide and share it here.