All test cases are wrong


Will you please help? When I dry run, I find this code correct but don’t know why all test cases are wrong

add a new line for every test case

Got this one too… Thanks a Lot!!! : )