The method title() returns a copy of the string in which first characters of all the words are capitalized.
NA
str.title();
#!/usr/bin/python str = "this is string example....wow!!!"; print str.title()
When we run above program, it produces following result −
This Is String Example....Wow!!!