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
non-readable code, do more clear
unnecessary complicated
I kinda forgot to using this type of solution
I didn't know you could use conditions like that in the middle of a sentence!
Ive never even thought you could do something like this in python. so cool !!
for once I think mine is more elegant... yaayyy!!
this should be at the top upvote. Its the most concise format.
This is actually clever . Well done !
I disagree, it reads the same as your own solution. Its only unreadable if you dont understand the syntax.
In this case, lower() will lower all first letters. It is a way to make words case insensitive, as all Rs will be converted to r, thus having no need to check for differences.
"that method automatically converts chars to lower case" - what method? Copy the solution, remove ".lower()" and submit it.
"What am I missing here?" - Hard to guess, Python knowledge?
why is lower() used? I thought that method automatically converts chars to lower case? What am I missing here?
wow this is actually clever. very cool.
Finally I can say that is not the best practice))
Loading more items...