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 comment is hidden because it contains spoiler information about the solution
fixed.
thank you both! And that's true (@jpssj) I forgot in python I can use a string like and array hahaha.
Your first two list comprehensions are useless, but your code seems fine apart from that. It throws an
IndexError
when s1 or s2 contain uppercase letters, and that's strange since the description saysOnly lower case letters will be used (a-z). No punctuation or digits will be included.
. If you replaceord(i)
withord(i.lower())
in your code, it should pass the tests.This comment is hidden because it contains spoiler information about the solution
Your method is correct. Theres a bug in tests because there are inputs with uppercase letters.
BTW you can see inputs by printing them with
print(s1 + ' ' + s2)
.Hey, Hi again. There's no timing out for me I already found a "good" solution, but I got other issue... It gives me just one error that is impossible to happen due the structure of my solution. So,does anyone know how to view the source code of sample test?
This comment is hidden because it contains spoiler information about the solution
Thanks for explain. I didn't figure out by my self