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.
It is 3, its about how many times you do the operation, not what the actual result is. So for 39 you do 3 * 9 = 27, 2 * 7 = 14, 1 * 4 = 4, 4 is a single digit, and you had to perform 3 operations to get to a single digit answer, so your answer is 3 operations. It confused me too.
so the instructions says 39 should return 4;
39 = 27 27 = 14 1*4 = 4 but the unit test for 39 is saying 4 should equal 3
in your solution you can just encapsulate it and call where you want to
I tried your solution: no error in attempting or testing...
Im getting a parse error for Test1() when attempting but not when testing