change string to all lowercase python code example
Example 1: convert string to lowercase in python
str = 'HELLO'
print(str.lower())
#prints "hello"
Example 2: python convert string to lowercase
# By Alan W. Smith and Petar Ivanov
s = "Kilometer"
print(s.lower())
Example 3: python string to lower
str = 'heLLo WorLD'
print(str.lower())
# hello world