Snack - ladder test case is not proper readable

Hello sir , my code fail on test case 1 so i unlock that test case but it was not in readable form.

test cases are proper and correct . please check your code