Not the correct answer

Not sure what I’m doing wrong. it’s showing the correct answer but on the checking answer I’m getting this

it must be a bug in the backend code.

Maybe clear your code and try it again?

If it still shows an error, then you can report it here.

just remember to be as descriptive as possible when reporting bugs.

Thank you it worked, re wrote the code.


We’re guessing you reconsidered your logic. Good job.

This is a very easy trap to get caught in so make a note (NB) of this exercise so it can be avoided in future. We often times are the bug creators. Learning how to debug is one of the most important skills to develop. It is always a good idea to question one’s own logic before looking for an outside cause.