Python islower

Python islower is one of the Python String Method used to check the given string has at least one character, and the character is either in lowercase or not. If it is lowercase, then the string islower function returns True. Otherwise, it returns False.

In this section, let me show you how to write string islower Function in Python Programming with example. The  syntax of the string islower is

String_Value.islower()
  • String_Value: Please select a valid String literal.

Python islower example

The following set of examples help you understand the string islower function. Please refer to the Python String and Python String Methods articles to understand the strings in Python.

# Python islower Method Example

Str1 = 'tutorial gateway';
print('First Output of a islower() method is = ', Str1.islower())

# Performing islower() function on Empty Space
Str2 = '     ';
print('Second Output of a islower() For Empty Space is = ', Str2.islower())

# Performing islower() function directly on Alphabets
Str3 = 'python tutorial at Tutorial Gateway'.islower()
print('Third Output of a islower() method is = ', Str3)

# Performing islower() on both Digits and Alphabets
Str4 = '1239abcd'.islower()
print('Fourth Output of a islower() method is = ', Str4)

# Performing islower() on Special Characters
Str5 = '[email protected]@@'.islower()
print('Fifth Output of a islower() method is = ', Str5)

# Performing islower() on Both Alphabets & Special Characters
Str6 = '[email protected]@@'.islower()
print('Sixth Output of a islower() method is = ', Str6)
Python islower function