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