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.
For 4 kyu it is too easy, because even not very smart I was able to do it by writing my terrible code. (that's my first 4kyu, others are much more difficult)
This comment is hidden because it contains spoiler information about the solution
How can we know if the problem can be fixed if you don't know what you're doing?
In this example:
10 appears odd amount of times, so it's the answer.
About assertions, it depends on the language you are attempting. For some, like Java or C#, these are standard unit test libraries, like NUnit or JUnit, you just add reference to your project and you are good to go. For others, like Python, getting the test framework to work locally is a real PITA.
I'm using the .keys() and .values() functions, idk if it's correct but it keeps giving me an attribute error. Is there a way to fix this?
This comment is hidden because it contains spoiler information about the solution