You are here : python_2stringstringislower

string.islower() - string

             

The method islower() checks whether all the case-based characters (letters) of the string are lowercase.


  • NA


Syntax

str.islower()


Example

#!/usr/bin/python

str = "THIS is string example....wow!!!"; 
print str.islower()

str = "this is string example....wow!!!";
print str.islower()


Output / Return Value

When we run above program, it produces following result −


False True


Limitations


Alternatives / See Also


Reference