String Methods
str.lower()
Apply Unicode lowercase mappings, including contextual mappings such as Greek final sigma. Some letters map to multiple code points. This is not a locale-sensitive transform or a complete caseless comparison algorithm; consider casefold() for default caseless matching. The receiver is immutable; the operation returns a string without modifying it. Do not rely on a new object identity.
Formal Syntax & Structure
python syntaxpython
text.lower()Return Value
str
String containing the transformed text.
Working Example
Example Snippetpython
label = "API-READY 42"print(label.lower())print("ΟΣ".lower())print(label)