Fix Python – How can I capitalize the first letter of each word in a string?
s = ‘the brown fox’
…do something here…
s should be:
‘The Brown Fox’
What’s the easiest way to do this?
….
s = ‘the brown fox’
…do something here…
s should be:
‘The Brown Fox’
What’s the easiest way to do this?
….