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
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool

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

tolowercase python
lower() method python
Was this helpful?
0 Comments