How can I capitalize the first letter of each word in a string?

What’s the simplest way to transform this?

s = 'the brown fox'

s should be:

'The Brown Fox'

← Назад к списку