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.
wrong
I leveled up to 4 Kyu with this Kata, but I may have overcomplicated it XD.
Well, I used it to train separating my code into many functions, so I did exactly that.
Same but the thing is if you did it without using module
You are actually learning some of the techniques yourself, so it's good learning experience
Nevertheless, kudos to the one making this simple code
I love the code!
But I think it would fail with eg "sdcsk;::''''';::adcsd".
It seems you substitute " '+ " with " ", so if the apostrophes are surrounded not by whitespaces (as some has mentioned already) they will be detected as a word.
am telling you
check my solution
Great, but doesn't perfect. "'''" (string with three apostrophes only without any whitespaces) doesn't work <3.
looks like very greedy
As usual great solution. What a pitty that I will never understand how to use regex.
This comment is hidden because it contains spoiler information about the solution
I am sorry, i couldn't understand the regex used inside findall. Can anyone help??
Thanks
I had to forfeit! :(
Can the coders with working solutions comment their code so I can figure this out please?
For
n
, reduce that number until you reach a number that can be expressed in the form 2^n where n is a positive integer.Not sure what is meant by "last power of 2". Can we get clarification on that point?
Loading more items...