Answers for "python change to sentence case"

1

python convert string to sentence case

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

how to apply sentence case in python

v = 'hello'
v = v.title()
print(v)
# "v.title" converts it into sentence case
Posted by: Guest on June-03-2021

Code answers related to "python change to sentence case"

Python Answers by Framework

Browse Popular Code Answers by Language