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.
You are correct. It's been a while since I've been on this site, but looking at my posted solution now; wow I can't believe I thought this would work. Thanks for pointing it out!
No, you're not missing anything. The Python test cases are too easy :/.
I dont think this solution would work actually. Mod 2 only tells if something is odd or even. Wouldnt this give a wrong answer for x=6 for example? Maybe Im just missing something.