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.
nice
That's because (in Ruby and many other languages) you can use an integer to get to the n-th charactetr in a String just as you can get the n-th element of an Array.
You can think of a String as an ordered list of charscters (technically code points, but thats another story).
why don't we need to turn em into arrays ?
When running the
psql postgres
CLI, you do use a semicolon to let the CLI know to start processing the statement.Approved by someone
Approved by someone
python new test framework is required. updated in this fork
Approved
python new test framework is required. updated in this fork
It should have been a 9. If you do the summation, it ends up being 8 short. (=558)
I looked at this kata, thought it looked hard, and immediately went to the discussion to look for hints. The only one I found was yours to 'think a little bit', so I did, and then quickly banged out a 'clever' one-liner. (Turns out there were a couple of cleverer (or at least more efficient) one-liners in the solutions, but that's what happens if you rush). So thanks for the hint!
It seams to be hard at first, but it is not so if you think a little bit ;)
Its hard to get a oneliner but we are here to lern.
Aaaaaaaaaah, it's a progression. Aaaaaaaaaah… indeed, this is better than (1..num).sum, cuz if num == 1e36, then we're in trouble. Good stuff! Thanks!
What happend to your code??? Chill out bro :)
May very well be the case, consider it a hard kyu 7. Vast majority of beta votes were in favour of 7 I'm afraid.
Loading more items...