- lower() is a python string function which convert the given string into the lowercase letters.
Example
string is "MyString"
required string is "mystring"
string is "WORNING"
required string is "worning"
program-
print("Enter string in uppercase")
s=input()
s=s.lower()
print("String in Lower case is ",s)
s="MYTEXT"
print(s.lower())
s="MYTEXT123"
print(s.lower())
Enter string in uppercase
THIS IS THE STRING
String in Lower case is this is the string
mytext
mytext123