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.
devils in the detail with this one
If a project can last longer than an average civilization, it should be stated so. Either lose the performance constraints, or add a tag and sufficient huge random tests
This comment is hidden because it contains spoiler information about the solution
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)
This answer is what the kata asked for, not the top voted solution. I think this should be top voted.
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
genius
wtf so there is a pattern?!
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.
chatgpt (not to be offensive)
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...