ReferenceString methods
str.lower()
A copy with every character in lower case.
Signature
text.lower()Returns
A new string.
Example
Python
print("PYTHON".lower())
print("Quick" in "the quick fox".lower())Output
python False
Basics
Strings
Collections
Functions
Classes and objects
Modules and the standard library
Files and errors
Beyond the basics
ReferenceString methods
A copy with every character in lower case.
text.lower()A new string.
print("PYTHON".lower())
print("Quick" in "the quick fox".lower())Output
python False