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.
I didn't know we don't need to add " " in string.split().
neither me
I knew that there is a one liner for this!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can't believe One-lining this one was possible
sorry.
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
If the original message contains several spaces in a line, this code will remove them. Thus, the code does not replace each initial letter of the word with a capital one, but also changes the length of the line, which is not part of the task
This comment is hidden because it contains spoiler information about the solution
I was sure they was a way to do that in one line !
But i didn't know that syntax. How can you use a for in a function like that ?
why is it bad? it only split once
Split in each loop, bad practice.
That's the way
Loading more items...