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

PythonServer Side ProgrammingProgramming

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.
raja
Updated on 30-Sep-2019 06:26:49

Advertisements