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.
Cheating is good
If you don't want others to use a certain language built-in/library, do it in a language that doesn't have it ;-)
But since this is Python, you gotta play by the rules of Python. Trying to write code in language A with the style and idea of language B is the worst thing ever ;-)
using the knowledge that already exist and building on it is nothing to be ashamed of, "monkey-coders" as you said are the ones who dont notice the simplest solutions. now im not saying you shouldn't be doing something from scratch. but if there is an easier way why would you do that ? it will just be a waste of time.
Excuse me, but there is nothing to proud of. In exercise it put tag "ALGORITHMS", and solving it with already existed solution at least not correct to yourself. If you will always copy code from stackoverflow you will become a monkey-coder, not a programmer and definately not an engineer.
Codewars was created to challenge your mind. So where is challenge if you choose to go easy way?
Just think about it. I DO know that bussiness requiring fast and working solutions. But you have to be ready to do something from scratch, it's what makes you more valuable among thousands of monkey-coders around the world
This comment is hidden because it contains spoiler information about the solution
mb you don't add the id column for people?
I agree that there was no restriction on itertools, but this probably shouldn't be a 4 kyu with such a straigtforward solution.
This comment is hidden because it contains spoiler information about the solution
In a way this is almost my solution, except I didn't use the explicit values. Kudos.
Glad you enjoyed it in the end. Thanks for your feedback!
Nice kata. For me it was much more challenging then 3-5 kyus katas that have already done. One-string solutions got me frustrated :-)
This comment is hidden because it contains spoiler information about the solution
That's absolutely right, thanks.
I'm just 2 weeks learning python, and I appreciate your comment. But now I guess I would make that code more "Pythonic", like you did :-)