Python3 islower() Method
Description
The islower() method checks whether a string consists of lowercase letters.
Syntax
Syntax of the islower() method:
str.islower()
Parameters
- none.
Return Value
Returns True if the string contains at least one cased character and all such cased characters are lowercase, otherwise False
Example
The following example demonstrates the islower() method:
Example
#!/usr/bin/python3
str
=
"RUNOOB example....wow!!!"
(
str
.
islower
(
)
)
str
=
"runoob example....wow!!!"
(
str
.
islower
(
)
)
The output of the above example is:
False
True
Python3 Strings