Definition
The islower() method returns True
if all the characters are in lower case, otherwise False
. Numbers, symbols and spaces are not checked, only alphabet characters.
Syntax
string.islower()
Parameters
No Parameters.
Examples:
myStr = "welcome to the python tutorials"
result = myStr.islower()
print(result)
# another example
myStr = "welcome to the Python tutorials"
result = myStr.islower()
print(result)
# another example (with numbers)
myStr = "welcome to the python 4.9 tutorials"
result = myStr.islower()
print(result)