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.
Aniki lives on! ♂♂♂
About time I get to see some code that simply makes sense.
This kata is a good way to learn the basics of OOP with some challenging little twists like the ranking system that require you to really think about how to solve the problem. Nice!
holy moly
Got it, thanks a lot!
Your solution is buggy, because
math.pow
loses precision for large numbers. It is not a kata issue.Attempted this with Python and it doesn't seem to work with very large numbers. The basic tests all turn out correct, as do most of the random ones. Could this be a problem with the input range?
Impressive.