Python capitalize

Python capitalize function is used to convert the first character into Uppercase and the remaining characters to Lowercase and returns a new string. This section discusses how to write a capitalize Function with an example. It keeps the Non-letters unchanged. The syntax of the Python capitalize function is String_Value.capitalize() Python capitalize method Example The following … Read more