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.
why the sarcasm?
Even numbers can't disappear out of nowhere. Your code is wrong.
.
Do you have some detail on the test results you're getting? What's failing specifically?
Check this about the code markdown.
I have same problem, the code works fine in my Python IDE but this test makes it impossible to get through. The test answer deletes some of the evens!
Hi,
Yes, I think it's a good idea to use functions from a language's "standard library" whenever possible in order to avoid mistakes, performance issues etc. Once you learn them you can also save time and communicate better with other people who are familiar with them.
I believe the code in our solution is more readable, more concise and less error-prone. Notice you can read it almost as an English sentence, compared to low-level "mathematical" language in your solution. It becomes important when you read and maintain a large code base.
In summary, it's a good idea to operate on a high level of abstraction. Think about higher-order functions in functional programming or classes with their public methods in object-oriented programming.
Are you modifying inputs?
Hello.
You simple use "print(order,max_e)". So you can see what input do you get and also how your output differs. Mostly you debug with debugger in IDE-s (editors you use for coding). But prints are fine. For each input you print the output and you compare how and why they differ. If you don't understand me it's ok ask... :)
I hope I helpd you.