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
Published on 11-Dec-2017 15:03:17
Advertisements