upper or lower case letter python code example Example: uppercase string python string.lower() string.upper()