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.
The table (not the explanation) in this comment was very helpful to me:
https://www.codewars.com/kata/5886cab0a95e17e61600009d/discuss#5c1b423116537c607b0000f3
This comment is hidden because it contains spoiler information about the solution
fixed (Python)
Can confirm that caps lock on european keyboard behaves like permanently pressing shift key. This means caps lock and shift key at once negate each other.
The description should say "caps lock only matters to letters". From the tests we only know it doesn't apply to numbers but have to find out ourselves about special characters like comma or apostrophe.
Haha ok thank you I got it. But still it's quite hard for 7 kyu. I'm excited to see the other solutions.
/edit Ok if you got some experience in code golfing it looks much easier.
This comment is hidden because it contains spoiler information about the solution
35 is too hard for 7 kyu. It took quite some time to figure out the shortest formula and then I can't get below 36 :-/
This is hard because the description is misleading with all that friendship stuff.
It should simply say that "numbers are in the same clan if they have the same subset of divisors (from the list). How many clans are there?"
Well this is much too mathy for me. Does anyone have a better description, maybe a drawing?
I know basic geometry like calculating length of a vector and so on. But what even is meant here by "size"?
Changed to snake_case.
Actually that tip is kind of misleading anyways. The solutions don't use this coordination system and it would overcomplicate it.
Just use the common adding / subtraction / stretching of vectors.
Just put it in a variable
flag =
and hit Test / Attempt. No return necessary.Cool, that's better. Thanks.
Some picky annotations you might ignore without offense:
No comma before "and"
I don't understand why the following is bold. It's just an irrelevant part of the story, not part of the task:
New paragraph!
It's a quote, just use quotation marks!?
Really long sentence. Just split it.
My suggestion:
Please format your description better. Paragraphs, citations, emphasis.
Unnecessarily hard to read and understand.
Would have done it for you, but it's not editable.
This was surprisingly hard for a 7 kyu. When you see the short solutions afterwards it doesn't look like it, but getting your iter indices right, not mutating the input and not falling in traps of references vs copies takes some above 7 kyu skill.
Loading more items...