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.
def
is not the only way to define a function in Python.how do i dont use 'def' and 'return' when codwars want to call my code with def?
I'm really surprised it was voted as 5kyu. I avoided it a few times thinking it would be much harder, but it really felt like 7kyu...
I was about to post this purplemath link. Mathematically challenged, I found it more helpful than the link in the instructions.
The short answer is, It's a Positive Lookahead (zero-width assertion). look ahead for 'space' (or end of $tring) without including it in the result. Good Job on this kata.
This comment is hidden because it contains spoiler information about the solution