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.
you're filtering out tests that contain spaces...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
if you post your whole solution and mark it as spoiler content then I can help you :)
Sorry Javascript. When I try to show my full code it looks wierd
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
I captain Kirk'd it. Basically I got rid of the "string" in the argument so I could import string methods.