Python: Letter Case Conversion

By Xah Lee. Date: .

Letter Case Conversion

str.capitalize()
Capitalize the first character
str.upper()
Change to uppercase.
str.lower()
Change to lowercase.
str.swapcase()
Switch uppercase/lowercase.
str.title()
Make each word's first letter uppercase.

Python, String