Chrome Extension

Convert all string characters to lowercase in python

To convert all string characters to lowercase you can use python lower() method. This will convert the given string to its lowercase form.
my_str = "Hello World!"
print( my_str.lower() )
#prints - hello world
Code faster with devsheet chrome extension and increase productivity as a programmer
search code from your favorite search engine instantly.
Install Now

Search Index Data (The code snippet can also be found with below search text)

tolowercase python
lower() method python
Was this helpful?
0 Comments
Open Code Manager We are hiring