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.
Could you try pasting your code again using ``` before and after your code in a separate line? See the link I posted above. Otherwise it lose indentation and some other things.I've copied/pasted your code but it gave me an error because something was lost without formatting.
You're welcome.
The brackets show the difference, the expected value has
2000
and your returned value hasn't that.Mark your post as having spoiler content when pasting code like that and to increase the readability of comments or descriptions, see this page in the github wiki.