I just copied your code, pasted and pressed ‘Run tests’ button, and it passed both tests.
Try it again. Maybe its a editor problem because I just answered another question similiar to this where they were having problems but the code was fine.
I just copied your code, pasted and pressed ‘Run tests’ button, and it passed both tests.
Try it again. Maybe its a editor problem because I just answered another question similiar to this where they were having problems but the code was fine.