My code should be correct but it fails?

Hi I have a problem. I’ve debugged the code correctly but it keeps failing to test the code, but when I look up the solution, it’s exactly what I’ve typed.