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.
what's thrown me off was unbalance parentheses, eg high_and_low("4 5 29 54 4 0 -214 542 -64 1 -3 6 -6"), "542 -214") ... there are two closing parentheses. Why do all the asserts have this pattern?
This comment is hidden because it contains spoiler information about the solution
hmmm. all test cases pass but when i submit, i get an error
Time: 68ms Passed: 6 Failed: 0
Test Results:
Basic Tests (6 Passed, 0 Failed)
STDERR:
Traceback:
in
in remove
IndexError: string index out of range
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Was the no-arg Python test resolved? I can't get it to work.
Test.assert_equals(get_count(None),{"vowels":0,"consonants":0},'Should return 5 vowel and 0 consonants')???
if None, should rethrn 0 vowels, no?