String Methods
lower()
Return a lowercase copy of text.
str.lower()
str.lower() returns a copy of the string with all cased characters converted to lowercase.
Result
Returns
A new string with cased characters converted to lowercase.
Run it
Try it
Run it and change it
text = "HeLLo" print(text.lower())
Output
Press Run to see what it prints.Worth knowing
- ASCII & Unicode: Converts both standard ASCII and Unicode characters to their lowercase equivalents.