When we use .upto to go through the letters, how does it specifically know to sort through the alphabet? Is it just plain knowledge?
There are two
upto methods, one for integers and one for strings.
Here is the documentation on the one for strings (you also have the source code if you click on it):
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.