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.
My point is that there is no module restriction, you can import whatever module you like, as long as it is installed. But not every module ever created is installed.
Understood, thanks!
I can solve this task, but I really think that the module restriction is not correct. Of course, I will think about solutions, but the first thing that comes to mind is dictionaries, and they can be compiled for a very long time (up to gray hair) =)
Your solution works in Pycharm because you have the module
inflect
installed, but it is not installed in Codewars. The Python runner in Codewars only uses built-in modules as well as a small list of additional packages, which does not includeinflect
. You will have to solve the task yourself, just like everyone else :)In some tasks, there is a condition that you cannot use any methods. In this task, nothing is said about the inability to use certain libraries.
I solved this task in a few lines (without taking into account the condition that the number is outside the range).
My solution works in the Pycharm, but here he writes me the error "ModuleNotFoundError: No module named".
I ask you to correct this moment if possible!
Tricky one :P But now I can finally say that I have improved my relationship with debugger. Thanks! ^^
I will leave this for whoever may need it:
Very good challenge, this kata was pretty tough and complicated to solve, I loved it.
Is this "not an integer" about the type or the value? It's not clear what should be returned for something like
0.0
.updated ruby + python + description
Thanks for the tip ;-)
Do publish more of those TS translations ~~ XDDD
π€ ππ» π π
Approved after 3 years ~~
Approved some time ago
Loading more items...