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 thought about initializing both ints concurrently, but I think it's probably more proper, semantically, to keep the index scoped to the loop. Your count and loop index can both be initialized to two, since all integers have at least two divisors, but just minor nitpicking!
OOOH thank you for taking the time to explain this to me! I was reading it wrong... Now I see where I'm mistaken!
You have a problem somewhere:
Test3:
[[10, 36], [12, 36], [3, 36]]
is your output which is wrong. It is not the input.It is the 3rd test result:
'[[10, 36], [12, 36], [3, 36]] should equal [[24, 84], [28, 84], [7, 84]]'
Which test? By the way look at the top of the page and see how many people passed the Python kata. Cheers.
In Python one of the tests gives a wrong answer.
It says 10/36 should give 24/84 which is not the same.
My answer finds 15/54 but the test won't accept it.
Could someone check on the tests ?