Thanks for answering! I saw that but is there a way to approve the exercise? It is part of the Machine Learning with Python course. Otherwise, I will not obtain the certificate. Maybe they know about the bug and if I send it like this, approve anyway.
You could open an issue on github about it I suppose (if there isn’t one), but the bug has been around for some time. These projects aren’t “approved” or checked by anyone by default; you just affirm that you have completed the project (yourself, not plagiarizing) and that it works correctly and submit a link to your code. Since the test has a list that’s missing an item and has it’s order reversed, it’s fairly straightforward to fix it in your notebook so that your code legitimately passes.