how to convert a string in lowercase in python code example
Example 1: convert string to lowercase in python
str = 'HELLO'
print(str.lower())
#prints "hello"
Example 2: python string lowercase
startString = "TeST StrIng"
lowerCaseString = startString.lower()
print(lowerCaseString)
# Output -> "test string"