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.
(3 years, wow! Sorry for the "ressurrection") also if you parse x into an int instead floor (correct me if I am wrong) if there was any float as arbument you grant it will works too.
exact copy of my solution!
Me too. Maybe it's just a wrong explaining of the excercise...
Thank you, I missed that - then indeed there's no need for dealing with sqrt- and ^2-ing :)
"X will be a valid integer number."
Only valid for integer
x
. Works wrong for, say,x
= 31.7OK ! I understand now.
I didn't get the cumulative notion for each turn.
Assert Kata.game(3,2) == "Joe"
And so on.
I don't understand the first case too...
For me, the winner should be Mike.
This statement makes no sense, and has nothing to do with solving the task.
Issues without relevant content are not actionable issues, non actionable issues are not issues.
i agree.
Then you should post your code with a spoiler tag in the comments because Python version is working correctly.
I return "0"
When you receive empty strings do you return
""
or"0"
? Because it seems you're returning the former instead of the latter one.Loading more items...