How do I lowercase a string in Python?

You can use string method lower() to lowercase a string in Python as shown in the below example –