Determines whether string contains lowercase characters
Usage
The islower() method return TRUE if all cased characters in the string are lowercase and there is at least one cased character, false otherwise.
Syntax
string.islower()
Examples
# Check if all characters in the string are lowercase
S = 'abcd'
x = S.islower()
print(x)
# Prints TrueThe method returns FALSE, if the string doesn’t contain at least one cased character.
S = '123$@%'
x = S.islower()
print(x)
# Prints False
S = 'a123$@%'
x = S.islower()
print(x)
# Prints TrueThe method also returns FALSE, if the string contains at least one uppercase alphabet.
S = 'abcdE'
x = S.islower()
print(x)
# Prints False