Python lower () method
description
Python lower () method converts the string in all uppercase characters to lowercase.
grammar
lower () method syntax:
str.lower()
parameter
- no.
return value
Returns a string in all uppercase characters converted to lowercase generated string.
Examples
The following example shows lower () to use:
#!/usr/bin/python str = "THIS IS STRING EXAMPLE....WOW!!!"; print str.lower();
Examples of the above output results are as follows:
this is string example....wow!!!