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.
Also, it seems that ypur solution has 2 lines
There is a way to import stuff with less code, and there are ways to solve this kata without imports.
Remember that
\w
symbol allows _ characters along with alphanumeric characters. So, when you are diminishing the scope of its complement by using\W
that means that you are also allowing the_
symbol as valid. This is one of the problems in your code. So, I would suggest you to allow only the alphanumeric characters instead of diminishing the scope of any characters or symbols.The main problem is in your if- else statement. Give a close look at the problem statement, it says that the password should be
atleast
6 characters. I hope you got your error.The main problem is in your if- else statement. Give a close look at the problem statement, it says that the password should be
atleast
6 characters. I hope you got your error.This comment is hidden because it contains spoiler information about the solution
Can't we use
nltk
module in CodeWars?Check your res2 variable you are indeed very close to the solution, just need to format it a little. :}
Read this, also the error messages, they tell you what your function returned wrong.
This comment is hidden because it contains spoiler information about the solution
No problem! ;)
Apologies, accidentally clicked the spoiler flag :/
This was certainly an interesting kata. I really loved the new concept learned here :}
That's great to hear bro :}
Loading more items...