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.
good job
Thank you... i wasnt asking for "xor" actualy... i didnt know the operator "^" :D
This comment is hidden because it contains spoiler information about the solution
Could someone explain that?
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
Elegeant and pythonic
LOL I feel the same! Our solutions are exactly the same hahah! As Reda12345 said, we all have diffenrent logic but as long as it works you're good :) I was being harsh to myself too, but i'm going to take my own advice now and be proud of myself for finding a solution at least lol even if it's not the shortest code!
genius
every solution is valid. If you passed Testing phase that mean you've something in the brain !
not at all ! we all have different logic the point is that you're solution work.
Testing make it correct
I'm new to python, and I'd not seen the floor division operator before. Thanks for this solution. It gave me something to research. I am now a bit smarter about things. I appreciate it.
I believe the terms for the practices used in the solution are List Comprehension and List Slicing.
I'm pretty new to python and would like to better understand the best practices for this solution.
Great response! Only issue for readability is not having the same number in the prompt in the code. Then again, it's simple enough it's not an issue
Loading more items...