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.
10 points for niceness!
can I strike my answer from ever having existed? is what I thought when I saw this
If that's the case, it's more efficient to write in С. XD
@fran496: no, but they're iterable objects that support indices, just like lists - except every element in a string is a single character. This means most of the syntax elements that can be used on lists can be used on strings as well.
except for mutating elements, you can do that with lists but not with strings
the kata specifies you don't have to deal with those
dang how did we all end up with the exact same code lmfao
Finally got a top answer ass well :)
This comment is hidden because it contains spoiler information about the solution
I had no idead at all how to solve it, lol
no way
It's about writing a piece of code that solves a specified problem, and it's about having fun. Don't get surly because other people found a more clever way to solve the problem than you did, it makes you look petty.
Ah yes this is about patterns and solving a mathematical puzzle, not coding. Sure. Go back to Mensa.org.
It's very easy to observe. I would expect someone who passed grade 7 maths to be able to figure it out.
You will only know this if you major in Math.
Never knew this was such a thing. I think F string beats it, but still cool.
Loading more items...