Python – String title() Method
The Python string title() method returns a string where the first character in every word is upper case (as in a header or a title).
The Python string title() method returns a string where the first character in every word is upper case (as in a header or a title).