Letter casing methods are available for strings (str objects) in the core
language and always have Unicode semantics.
lowercase = str.lower
uppercase = str.upper
titlecase = str.capitalize
casefold = str.casefoldThe casefold method was added in Python 3.3.