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.
This comment is hidden because it contains spoiler information about the solution
What happens if n is not a number? It should have a check
Awesome. Never thought of regex
I thought I was being original, lol
i did the same but matched the 1 instead.
great!
100% identical to mine.
Mejor:
def plural?(n), do: n != 1
if you have the array then you have the comma separated list (arr.join(","))
The requirement to return a comma separated list seems a little unnecessary. Why not just an array?