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
This comment is hidden because it contains spoiler information about the solution
Thanks For the explanation ( ◜‿◝ )♡
i love this language:)))) I'm in my first year of engineering and already fell in love with codewars..i get to learn something new everyday
This comment is hidden because it contains spoiler information about the solution
Guido says yes!
This comment is hidden because it contains spoiler information about the solution
But there will still be cases where the string is longer than 140 characers (including whitespaces) and the hastag shorter than 140 characters - I think this should be added as a test case.
Sorry , I don't know how to remove this, but it is wrong. I should look at the lenght of the hashtag and not the original string. There will be cases with the original string more than 140 charecters long that will give a hashtag less than 140 characters long.
I think it will be the other way around: There could be several instanses where len(s)>140 but your hashtag is not (after removing whitespaces). I made the same mistake (and did not get caught in the tests), but changed it afterwards.