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.
This comment is hidden because it contains spoiler information about the solution
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.
Look up when re is most used in text analysis etc. This way it will become second nature when mining texts. Best of luck.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
emmmm...s isn't in the second () so it isn't multiplied by the 60 but only by the 1000
if you recall the boolen expressions.
True and True automatically return True
True and False / False and True return False
Its smart
As if using a lambda was the biggest "problem" with this code 😂
It's obviously hammered to a one-liner, so readability was not the primary concern of Murf.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
This is just how these counting-out games work. You have let's say 10 phrases and 3 children you know that child next to the one from which we start counting will be chosen, since
10 % 3 = 1
.the comparisson operators ==, >, <, => and =< already returns True or False
This comment is hidden because it contains spoiler information about the solution
It is "+1" at the end because the slice operator (:) does not include the last position. So if you print(s[0:1]) it would only print the character at position 0.
Loading more items...