How to Return String in Lower Case in Python


In this example, we will learn how to return the string in lower case using the lower() method in Python.

Source Code

my_str = 'Python'

print(my_str)
print(my_str.lower())

Output:

Python
python
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments