string.capitalize()

string.capitalize(s) → string[source]

Return a copy of the string s with only its first character capitalized.