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.
Bro went all the way
yo wtf is this 🤣
Because when you access
inputString[0]
you get the unicode value of the first character so what he does is to substract the value of the character 0, because let's say "0" has a value of 32, then, 1 has a value of 33, and so on. So, when you substract 33 - 32 you get 1