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.
CLEEEVER
the same approch we had :)
happy coding
Thanks for the feedback, updated the description!
Same issue; tried both of these approaches (round & float).
OH! So reverse the order of the numbers, as given, not reverse numerical order... I guess I made an assumption there, but maybe it's worth clarifying for others.
Thanks for the quick reply.
just to explain the task a bit clearer:
this is the number n: 35231
A list with each number as an own entry looks like this:
Now reverse the order of the list like this:
the last number in the list becomes the first, the second-last the second
and so on..
I don't understand how the instructions (return a list of ints in reverse order) could result in the test cases (this is in Python):
Test.assert_equals(digitize(35231),[1,3,2,5,3])
Why isn't is [1,3,3,2,5]?
Please clarfiy the instructions or fix the test case. thanks!