by @codeexamples

How to lowercase a string in Python

Home » python » How to lowercase a string in Python

To lowercase a string in python, we can use the lower() method.

Here is an example that converts uppercase string PERSON to lower case.

a = "PERSON"

print(a.lower()) # person