Last Updated : 11 Jul, 2025
The islower() method in Python checks if all characters in a string are lowercase. It returns True if all alphabetic characters are lowercase, otherwise, it returns False, if there is at least one uppercase letter.
Let's look at a quick example of using the islower() method.
Python
s = "hello"
res = s.islower()
print(res)
Explanation: The string s contains only lowercase alphabetic characters, so islower() returns True.
Syntax of islower()Parameter:s.islower()
Let’s look at a few examples of islower() method.
Python
s1 = "hello"
res1 = s1.islower()
print(res1)
s2 = "Hello"
res2 = s2.islower()
print(res2)
s3 = "hello123"
res3 = s3.islower()
print(res3)
s4 = ""
res4 = s4.islower()
print(res4)
s5 = "123@"
res5 = s5.islower()
print(res5)
True False True False False
Explanation:
Related Articles:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4