Python String – title() method

It is a method in python that returns all the first character of every word in upper case of a string. If a word contains any special character or number the following letter is converted to upper case. Syntax: string.title() Example 1: s = “title is a method in python” x = s.title() print(x) Output: […]

Python String – title() method Read More »