python print string in capital code example Example: uppercase string python string.lower() string.upper()