Home >>Python String Methods >Python String islower() Method

Python String islower() Method

Python String islower() Method

Python String islower() Method in python returns true if all the case-based characters (letter) in the string are lowercase and returns false if not in lowercase.

Syntax:
string.islower()
Here is an example of Python String islower() Method:

txt1 = "hello phptpoint!"
x = txt1.islower()
print(x)

Output:
True
Example 2:

str = "Welcome To phptpoint"  
str2 = str.islower()  
print(str2)

Output:
False