You are here : python_2stringstringlower

string.lower() - string

             

The method lower() returns a copy of the string in which all case-based characters have been lowercased.


  • NA


Syntax

str.lower()


Example

#!/usr/bin/python

str = "THIS IS STRING EXAMPLE....WOW!!!";

print str.lower()


Output / Return Value

When we run above program, it produces following result −


this is string example....wow!!!


Limitations


Alternatives / See Also


Reference