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.
Was fine on the passing sample tests, then this...
should return 2 columns
undefined method `keys' for nil:NilClass
Simplified backtrace: block (3 levels) in
should return an id column
undefined method `keys' for nil:NilClass
Simplified backtrace: block (3 levels) in
should return a name column
undefined method `keys' for nil:NilClass
Simplified backtrace: block (3 levels) in
This comment is hidden because it contains spoiler information about the solution
At first this was actually what I wanted to do with the kata. Maybe I'll make another one that asks you to build acrostics sometime!
This Kata reminded me that I had forgotten about regular expressions, I should remember that.
This comment is hidden because it contains spoiler information about the solution
Yeah I figured it out, I feel dumb now.
You need to
return
the final output instead of usingprint
to output it to the console.None
is the default value when nothing is returned.Log: no one likes this
! None should equal 'no one likes this'
..THATS WHAT IT IS ? I dont understand. I used the len() of the list and an if/elif/else for the levels of the len() to display the appropriate message.
I left the site and came back and apparently I have an unfinished katas? so if I skip katas it adds to unfinished, even though they arent unfinished I chose not to do them. that isn't unfinished, thats not even attempting them. Please fix.