The string title() method is used to convert all characters of the string in title format. A title format consists of first character of every word in uppercase and rest in lowercase. Any symbol, space, special character or number in the string is ignored while applying this method. Only Alphabets are converted.
No parameter is required.
In the below example, title() method to used to convert all characters of the string in title format.
MyString = "learning python is fun." print(MyString.title())
Learning Python Is Fun.