Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Perhaps this could help: Troubleshooting-your-solution.
My code clears all the tests succesfully, except for the last one,
which gives me the following error message:
'Finished!' should equal 'Try again!'
Yes, without that variable, they could have done that in one line.
@Chrono79 Now it works, thanks!
@akar-0 Sorry about the spoiler, I'm new and still getting used to this site.
Use the initial function definition:
or prepend this to your code:
Read this too: https://docs.codewars.com/training/troubleshooting/
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution