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.
python new test framework + random tests are required. updated in this fork
No random tests
Python new test framework should be used
Duplicate of this one at least
Thanks for taking the time to explain that. I love regex but didn't know i could do this with it.
I thought the same as you. Now we've learned!
Sorry, I wasn't sure what the spoiler flag was. I will mark applicable posts in future! Thank you for the feedback.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
""
is a string object. string objects have a methodjoin(iterable)
, that produces a string of all elements in iterable seperated (or joined) by whatever the string object's value was.This comment is hidden because it contains spoiler information about the solution
I don't understand why the " " before ".join", can anyone explain?
I didn't know you could put all these in one line #based
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
On your second line you need to write
first = first.split()
instead of justfirst.split()
and your separator should be a space.This comment is hidden because it contains spoiler information about the solution
Loading more items...