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.
=DDD
LoL I like sarcastic sense of humor of this user LoL
10 points out of 5 possible =))))))))
I think he's trolling too. He's a good troll, because it takes so much free time to write this code.=))))
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!
The author has a good sense of humor and a lot of free time! He trolled everyone. I'm screaming. =)))))))))
It's the best solution!
😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
true.I did it the same way as you did. work perfectly in pycharm
This comment is hidden because it contains spoiler information about the solution
Your code returns a string, which is incorrect.
This comment is hidden because it contains spoiler information about the solution