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.
Fixed in latest fork, all above solutions are invalid now.
Fixed in latest fork, your solution now fails.
Approved
Lua translation!
Thanks for the clarifcation Chrono79.
I get the issue, made some updates and submitted successfully.
Check this out. Also, test your code with
is_pangram("a")
. What does it return?There are only two tests in the Sample tests, and your code happens to pass the second one by chance.
Thanks for your input. Wondering how is it possible that my incorrect solution passes all tests in the test mode (both positive & negative) but not at the time of submission. Solution also works fine on Pycharm......
All tests pass in test mode but at the time of submission it fails the negative cases.
Not sure why - is anyone facing the same or have a fix?
Actually it does matter about symbols, given the code above.
len(set(s.lower()))
will return greater than 26 if there are non-letter symbols that cause the set to be greater than 26 in length.In that code, there is nothing restricting the set to contain only letters. The user posting is pointing out that the test cases should be expanded to include non-pangrams that contain many varied symbols. So the symbols do matter for appropriate test cases to pass the kata.
Oh it's really good decision, but symbols don't ever matter
Your code is really hard to read without
proper code formatting
Personally, onet thing I do when I'm not provided enough context with code wars is to try it on my own machine and try to debug it from there. It really helps.
This comment is hidden because it contains spoiler information about the solution
Mednoob, thank you for your reply!
This comment is hidden because it contains spoiler information about the solution
Loading more items...