How will you convert a string to all lowercase?

Hi, How will you convert a string to all lowercase

2 Likes

In Python, the method string.lower() is used to convert any string to lowercase

Example:

string = "STRING CONVERT CASE"
print(string.lower())

Output:

string convert case

1 Like