converting text to lowercase in 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())