lower() String Method in Python with Examples

lower() method converts all uppercase letter in string to lowercase.

Example: lower() String Method


message = 'WeLcOmE TO PYTHON 123'
print(message.lower())

# OR

message = 'WeLcOmE TO PYTHON 123'
print(str.lower(message))

Output

welcome to python 123


Related String Methods