python capitalize first letter of string without changing the rest code example Example: python capitalize first letter of string without changing the rest string[0].upper() + string[1:]