Python Basics
Python Advanced
Python Useful References
Python Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
Python String islower() Method
Description:
This method checks whether all the case-based characters (letters) of the string are lowercase
Syntax:
Parameters:
Here is the detail of parameters:
Return Value:
It return true if all cased characters in the string are lowercase and there is at least one cased character, false otherwise
Example:
#!/usr/bin/python
str = "THIS is string example....wow!!!";
print str.islower();
str = "this is string example....wow!!!";
print str.islower();
|
This will produce following result:
|
|
|