Python Function Reference

title
Return a titlecased version of the string where words start with an uppercase character and the remaining characters are lowercase.
Python 3.13
str.title()
Examples
Python 3.13
>>> 'hello world'.title()
'Hello World'