Python 3 reference · String Methods

Python String islower() Method

Return True if all cased characters are lower case and there is at least one cased character.

Python 3 Since 3.0

Create a free account to save this page, take notes and track your progress. Sign in

Syntax

str.islower()

Return value

True or False.

Examples

Basic useTry it yourself
print("hello".islower(), "hello 123".islower(), "Hello".islower(), "123".islower())

Output

True True False False
Filter lower-case wordsTry it yourself
words = ["python", "Java", "go"]
print([w for w in words if w.islower()])

Output

['python', 'go']

Version history

VersionChange
Python 3.0Added

Was this page helpful?