How to convert uppercase to lowercase in python?

In python, we have inbuilt function upper() and lower() to convert uppercase string to lowercase and vice versa.
e.g.,
s="PYTHONPOINT" print(s.lower())

e.g.,
s="python" print(s.upper())

This is how we convert uppercase to lowercase and vice versa in python.
Subscribe
Login
Please login to comment
0 Discussion