The lower() method converts all uppercase characters in the string to lowercase.
Example
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
str = "ABCDRFG"
print(str.lower())
str = "aBCDEFG"
print(str.lower())
Output:
abcdrfg
abcdefg
Syntax
str.lower()
Parameters
This method doesn’t take any parameters.
Return Value
It returns the lowercased string from the given string.