Login
Remember
Register
Ask a Question
How do we convert the string to lowercase?
0
votes
asked
May 17, 2020
in
Python
by
SakshiSharma
How do we convert the string to lowercase?
#python-string-lowercase
#lowercse-python
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 17, 2020
by
sharadyadav1986
lower() function is used to convert string to lowercase.
Example:
1
2
str = 'XYZ'
print(str.lower())
Output:
1
xyz
...