islower

Description

Returns a Boolean stating whether the string is in lower case.

Syntax

str. islower()

Return Value

bool

Time Complexity

#TODO

Remarks

For 8-bit strings, this method is locale-dependent. Returns False if string is empty.

Example

>>> ''.islower()
False
>>> 'abc123'.islower()
True
>>> 'abc'.islower()
True
>>> '123'.islower()
False
>>> 'Abc'.islower()
False
>>> '!@#'.islower()
False
>>> '   '.islower()
False
>>> 'ABC'.islower()
False