Answers for "Convert String to smaller case Python"

3

how to change a string to small letter in python

my_str = "Hello World"
my_str.lower()
print(my_str) # outputs "hello world" on the terminal
Posted by: Guest on October-15-2020
1

python convert string to sentence case

>>> s="OPERATOR FAIL TO PROPERLY REMOVE SOLID WASTE"
>>> s.capitalize()
Posted by: Guest on April-11-2021

Code answers related to "Convert String to smaller case Python"

Python Answers by Framework

Browse Popular Code Answers by Language