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
ASCII when u do a comparation betwen two char they count as they number on the ASCII table. :'( sorry for bad english
This comment is hidden because it contains spoiler information about the solution
I wish I could have come up with the idea to write the 'check' function like this..!
This comment is hidden because it contains spoiler information about the solution
Basically he is comparing two chars, so Python will convert them into their numerical representation and then preform the > operation. (if you want to see the numeric representations, try running ord("a") or whatever char you want to see the number for)
Ye, the same
Can someone please explain to me why this is a legal operation? I have not come across this before and am interested in knowing why this works.
This comment is hidden because it contains spoiler information about the solution
Is it also faster?
Your solution helped me figure out what people above are doing with the single-line solutions! Thank you!
i > "m" ...! Another new thing to learn...thank you!