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