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.
True, but this was probably a really old answer. That's why I think Codewars shouldn't obfuscate dates. I don't know how exactly, but I'm sure there's a way to solve the issue of really outdated answers (that were great at the time) being presented as best practices to beginners especially in JS and Python katas.
This comment is hidden because it contains spoiler information about the solution
hey bro you are in all katas 😂😂
It would be more accurate to say that we need to account for 0 as the first number in the sequence, thus we add 1 to generate the expected sequence, not that we exclude zero.
Nice I had the same answer
Use spoiler flag next time, your post was visible in the homepage.
Because factorial is the multiplication of all the numbers from num to 1 whereas sumation is sum of all number from num to 1. Thes question asks for sumation so it is totally unrelated.
This comment is hidden because it contains spoiler information about the solution
because we don't want to include "0", which is generated as a first number
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's...geometric...
This comment is hidden because it contains spoiler information about the solution
your idea of tuple is wrong
tuples are unchangeable
you need to replace tuple with list for the code to work
I think it's because range takes all the numbers up to but not including the 2nd parameter.
For example:
range(1, 8) covers the numbers 1, 2, 3, 4, 5, 6, 7
Loading more items...