Standard LibraryTypesstringMethodscapitalizeOn this pagecapitalize Method of string. capitalize() -> string Return a capitalized version of the string.