Question

How to convert string to lowercase in Python?


Annonce
Ad

Answer

Use the method lower():
>>> text="UpperCase TEXT"
>>> text.lower()
'uppercase text'


[source]
# ID Query