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.
Well make an array of all the destinations, loop through the routes, and make matches i[0] for the i's in the destination array.
Well, can do true, instructions are kind of vague in the false case
Well mine works for the tests, but times out whenever I try to Attempt. Don't know how else to do it with out using a for loop
This comment is hidden because it contains spoiler information about the solution
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: ' '
'E804C' should equal 'E8004C'
C7033 should equal C70033
Got half the tests passing, but a bunch of them have one less zero than they should, wonder where it went wrong
File "c:/Users/bluem/monty-python/volcano/evil.py", line 28, in get_villain_name
x = birthdate.strftime("%B")
AttributeError: 'str' object has no attribute 'strftime'
Ya really, I have to test these out on a seperate IDE, to print out as I go, what a tedious bunch of typing, looked like a cool Kata, so I just did it anyways
Well, I extracted the dates and months from the string with slicing, but I don't understand what you were supposed to do with the date time module, should have explained it better. I can get it to work in a seperate IDE though.
Glad I'm not the only one who thinks so
Well my solution works in replit, but not when I push attempt... guess maybe I'll just do it in Python instead.
Well I guess I can't do it , at least not in JavaScript, no test cases..
Are you sure this is 8th Kyu? It was way too easy
This comment is hidden because it contains spoiler information about the solution
Got everything to work, but just can't get the punctuation tests to pass, and don't know what to do. I replace the first letter with an empty space, but if there is a punctuation mark, it returns something like this : "?ay", can't think of how to fix it.