THE WORLD'S LARGEST WEB DEVELOPER SITE

Python String lower() Method

❮ String Methods


Example

Lower case the string:

txt = "Hello my FRIENDS"

x = txt.lower()

print(x)
Run example »

Definition and Usage

The lower() method returns a string where all characters are lower case.

 Symbols and Numbers are ignored.


Syntax

string.lower()

Parameter Values

No parameters


❮ String Methods