Computer >> Computer tutorials >  >> Programming >> Python

How to convert all uppercase letters in string to lowercase in Python?


You can use the lower() method in Python to convert all uppercase letters in string to lowercase. For example:

>>> ‘Jane Doe N.Y.’.lower()
jane doe n.y.