Any difference between str.capitalize() and str.title()?
Any difference between str.capitalize() and str.title()? Question: Is there any difference in str.title() vs str.capitalize()? My understanding from the docs is that both methods capitalize the first letter of a word and make the rest of the letters lowercase. Did anyone run into a situation where they cannot be used interchangeably? Asked By: mysl || …