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.
No .format() solution because im way to lazy to understand how that works.
Still, this works
yep, but just python or other languages with built-in tools.
This comment is hidden because it contains spoiler information about the solution
"while ensuring there is exactly one space between each word"
This comment is hidden because it contains spoiler information about the solution
I think you still have cast the float to int somehow
this kata should be evaluated as 8ky somehow
exactly same idea
FYI:
I use the following link http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibmaths.html#section1.1 as reference
man, you are so hard-working....
time complexity would be O(N^3) whish is not optimal
wow
That's true for your code as well! (although thanks for inspiring me to a regex-based solution) Then I noticed
You are guaranteed that the number in the passed in string is placed somewhere after the first character of the string.
in the description.you will feel bad if the first character of hero name is digit
merely for logging purpose
Loading more items...