EN
Python - convert string to lowercase
0
points
In this article, we would like to show you how to convert string to lowercase in Python.
Quick solution:
text = "ABC"
print(text.lower()) # abc
Practical example
In this example, we use lower()
method to lowercase the string.
text = "ABC"
print(text.lower()) # abc
Output:
abc