indeed. thats strange
This comment is hidden because it contains spoiler information about the solution
I think we need Math.floor(percent/100), ??
Hi, I'm a newbie here. What could be the reason why the code I have written for this kata works fine for the sample tests provided when put in IDLE but returns an error when tested here ?
NB:I have written my code in Python 3, and I used the round(num,2) to solve the 2 decimal instructions.
(Please do not give me the direct solution of the kata)Thank you.
"If you get something that's not a number at all, return false."
I think it will be good to add to Basic Tests case with something like union_jack('7') -> expected: False.
It will clearly show what is 'not number at all' because in some katas such 'numbers' are still valid numbers in others katas no.
Probably a platform issue, and it was probably transient.
Issue not reproducible in 2020. Closing.
Should not mutate parameters.
See the issue I opened above, plz.
this kata has to be completely rewritten. Asking for a string with float representation is just non sense.
Python 3 should be enabled.
Mutation of function paramateres =\
Why not a for loop? :D https://www.codewars.com/kumite/57cab2bbfa9fc5df340007d6?sel=5d6946c80725d3001fb10eb1