python convert string into lowercase code example
Example 1: convert string to lowercase in python
str = 'HELLO'
print(str.lower())
#prints "hello"
Example 2: python string to lower
str = 'heLLo WorLD'
print(str.lower())
# hello world
str = 'HELLO'
print(str.lower())
#prints "hello"
str = 'heLLo WorLD'
print(str.lower())
# hello world