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.
Sometimes I didn't see why the "attempt" tests failed.
I'm writing in Ruby and got this error:
[]': wrong number of arguments (given 0, expected 1..2) (ArgumentError) from
class:PaginationHelper'from `'
Did I make a syntax mistake or is something wrong with the test?
This comment is hidden because it contains spoiler information about the solution
I only passed all cases when outputting both strings (shell) regardless of n.
It should be made clear that the order must be different every time the function is called.
The two cases for words ending in "-y" ("days", "buys" vs. "flies") should be clearer expressed in the task statement.
Insert a print statement for the arguments. Then you know at least what the test input is.
Yes, I think there is only one parameter. I got the same error.
I can't submit my solution for some reason. The code passed the test examples successfully.