This comment is hidden because it contains spoiler information about the solution
My program returns correct strings yet it fails random tests. I get communicates like:
Test: 103 (5 '1's)
Expected: It's Odious!
Actual: It's Odious!
Awesome, Thank you!
P.S. It never occured to me 'Odious number' is actually a universally established term, I thought it to be a pun by Kata author xD
Since you think there is a god (also it has a name), I corrected what you said.
Although you can see these links:
(these are the first three links if you google "Odious number", they all have "binary expansion").
I am sorry, but what in God's name is a 'binary expansion' and 'first ten'?
Added random tests
Description updates and added python 3 support. I'll probably make random tests another time...
Both language versions need random tests.
This one (another goldbach kata) also needs random tests :) Though I like it better because it doesn't have an arbitrary string formating requirement.
Also, the second check in if(oscar > 88 && oscar !=86) makes no sence (86 is less than 88, so the execution of code never gets there). Maybe you've meant if(oscar < 88 && oscar !=86)?
I wonder if the main function should be changed to not imply it is a predicate function, which by convention should return booleans and not strings?