Open In App

Python String islower() Method

Last Updated : 11 Jul, 2025
Comments
Improve
Suggest changes
2 Likes
Like
Report

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.


Output
True

Explanation: The string s contains only lowercase alphabetic characters, so islower() returns True.

Syntax of islower()

s.islower()

Parameter:

  • This method doesn't take any parameter.

Return Value:

  • The method return True if all alphabetic characters in the string are lowercase, otherwise False.

Example of islower()

Let’s look at a few examples of islower() method.


Output
True
False
True
False
False

Explanation:

  • s1 is "hello": contains only lowercase letters, so islower() returns True.
  • s2 is "Hello": has an uppercase 'H', so islower() returns False.
  • s3 is "hello123": all alphabetic characters are lowercase, so islower() returns True.
  • s4 is "": an empty string returns False by default.
  • s5 is "123@": contains no alphabetic characters, so islower() returns False. At least one lowercase letter is needed for True.

Related Articles:


Practice Tags :

Similar Reads