Python3 lower() Method
Description
The Python lower() method converts all uppercase characters in a string to lowercase.
Syntax
Syntax of the lower() method:
str.lower()
Parameters
- none.
Return Value
Returns the string generated by converting all uppercase characters in the string to lowercase.
Example
The following example shows how to use lower():
#!/usr/bin/python3
str = "Runoob EXAMPLE....WOW!!!"
print( str.lower() )
The output of the above example is:
runoob example....wow!!!
Python3 Strings