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.
This is not an issue but a problem with your code. Issues are problem caused by defects in the kata itself. You'd rather ask a question in this case. However with no more elements, it's impossible to help you. I guess you're using Python. Actually you don't pass all tests, they give up once they meet an error. KeyError means you try to access a key that does not exist in a dictionary or a similar object, and Python crashes in those cases. Hopefully this may help you: Troubleshooting Your Solution.
All my tests are passed but one got terminated because of key error.What to do?
This comment is hidden because it contains spoiler information about the solution
My bad, totally forgot about that. Thanks again! :)
FYI your reference solution is wrong as it doesn't check for case sensitivity issues ~~ I've fixed that in the editor ^^
Thank you!!!
Approved !!!
It's already implied.
You're trying to access non-exist keys, check for spaces.
Nice one xD
JavaScript translation kumited, feel free to check :)
that is probably because your code doesn't work for names which have two words like 'Donald Trump'. you need to figure out a way you can ignore the space('') between the words.
hope this helps. :)
Well all tests pass, but exit code says this
Traceback (most recent call last):
File "main.py", line 49, in
test.assert_equals(sexy_name('DONALD TRUMP'), "THE ULTIMATE SEXIEST")
File "/home/codewarrior/solution.py", line 10, in sexy_name
score =score+ SCORES[i]
KeyError: ' '
Loading more items...