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.
Ty byte I get it now. Took a min lol but I got it. thanks again.
What am I missing here?
def swap_values(args):
args = reversed(args)
return list(args)
When I print this it gives me [2, 1] but when i return it, it gives me [1, 2]. Tried every which way to no avail [::-1], even a for loop lol but could never get the return to pan out...only the print. I thought they had to be the same? Finally gave up.
This comment is hidden because it contains spoiler information about the solution
I see now. THANK YOU for taking the time and clairifying that for me Jim.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I would have had this one but for one mistake. You also have to assume (s) is and empty string. Which means my s[-1] would not work and kept throwing 'out of index' errors. Could not figure it out lol until I gave up and looked at solutions.
This comment is hidden because it contains spoiler information about the solution