I have tried to think of a lot of corner cases. But don’t know where it is failing. Please help! I am new to python