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.
didn't worked at the first time
THIS PROVES MY BRAIN IS BETTER THAN A COMPUTER!
Had exactly this (i thought) and didn't pass 1 (out of dozens of test ran)... weird...
smoove
I have a similar solution, however since isupper() has some issues with uncased characters from unicode I dont think this should be the best practice for python.
inp.upper()==inp seems more reliable IMO.
This solution does't work with non-alphanumeric characters.
@rowcased I c. Thank you. I first want to comment "no Brainer" for this question. Then when I clicked 'attempt' twice and twice it failed because it had a special character in the fixed tests.
I reread the question and realized it said, if input didn't have any letters, have to return with all caps.
That's why I was surprised to see how this code went thru.
no, you can see all 4 sample tests. when you hit attempt, there will be fixed tests and then random tests.
I had to change this code because for me this one didn't pass one special character. Is our final sample tests randomly picked?
Doesn't work with special characters.
I had the same thing happen to me, it took about three iterations of the "Attempt" button to finally let me pass.
I didn't think that it could be because of the special characters, but I guess it's the only thing that makes sense.
wow didn't notice this code exists
This doesn't work for me if the string is made of special chars...