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.
looks like u solved it
Thanks I didn't think about that.
Read this. Your code is using a global var and it keeps its value between tests.
This comment is hidden because it contains spoiler information about the solution
did you find the mistake?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
thanks for your comment.i will review my code..
There are several errors there, the function's name should be
namelist
, that's why you get that error. Your function should return the result, not print it, and as you can see in the examples in the kata description, the size of the list is not always the same.This comment is hidden because it contains spoiler information about the solution