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.
I think you have the tests backwards. Your predicate is expected to behave like a generator, and produce single values at a time. The tests check for this by gathering all the values produced into a list. Your solution however produces one single list of all values at once, so the tests collect that into a list, creating a nested list, while the expected result is just a list.
You need to rebuild your solution to produce individual values. Eg instead of this behaviour:
You need behaviour like this:
the initial code tells you:
this is not what you are doing, you are putting a into
registers[0]
, b intoregisters[1]
, etc