Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 306 Bytes

python.md

File metadata and controls

13 lines (10 loc) · 306 Bytes

Letter Casing in Python

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.casefold

The casefold method was added in Python 3.3.