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 don't think I understand your question. Are you trying to use the function in the code you commented on? If so, what are you trying to do?
There shouldn't be any non-iterable int objects in the code you commented on.
If you want to print the function, you'll use: print(openOrSenior(data)) And replace "data" with a list consisting of tuples (i.e [(24, 7), (18, 2), (66, 22)])
If you want to make another function output into this one, you'll need to replace "data" with your function name. And you need to make sure that the output of that function is a list of tuples.