Oct-27-2019, 02:45 AM
(Oct-27-2019, 01:00 AM)jefsummers Wrote: Seems like a job for recursion.
That was my idea as well. However, if you need to change the list in place, note that you need to assign the capitalized string back to the list itself (specifically the index of the uncapitalized string). So it's a loop that recurses on lists, does item assignment to capitalize strings, and ignores everything else.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures