change string to all caps python code example Example: uppercase string python string.lower() string.upper()