Capitalize the first letter of every word in the string using Python
In Python, title() function in String method returns a new string whose first letters are capitalized. In short, title() method returns a new title cased string from a string.
Advertisements
str = 'haha this doesnt seem to be working' print str.title() //Haha This Doesnt Seem To Be Working