title() function in Python is use to make first letter capital of each and every word in the string.Example:s="my string is programming"s.title()//"My String Is Programming"
Example:
s="my string is programming"
s.title()
//"My String Is Programming"