Python - String Method - lower() Tutorial
It converts all the uppercase characters in the string to lowercase. It does not modify the original string.
str1 = "WELcome To fresherBELL PYTHON TUTOrial"
print(str1.lower())
print(str1)
Output-
welcome to fresherbell python tutorial
WELcome To fresherBELL PYTHON TUTOrial
In the above program, all upper case character in string str1 is converted into lower case. But, it does not modify the original string.