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 language?
@sitypop: The error message says it expected 1 argument, but got 0. Maybe that will help.
personally i don't know what you do, i'm not as familiar with python maybe do a few google searches about handeling 0 argumemts or something. This kata has been solved for python before so there is a way around it
i understand this is testing for an empty argument but my code 'if words.empty?' still seems to raise the same errors: 'get_count': wrong number of arguments (0 for 1) (ArgumentError) from'
am i missing something?
This comment is hidden because it contains spoiler information about the solution
You're going to have to use
console.log
because the first 20 test cases are fixed tests, the next are random tests...The first 20 tests pass for JS but the last one says " Expected: {"vowels":0,"consonants":0}, instead got: {"vowels":0,"consonants":32} ". What does the test case look like for the 21st test?