Latest web development tutorials

Python3 islower () method

Python3 string Python3 string


description

Are islower () method to detect the string consists of lowercase letters.

grammar

islower () method syntax:

str.islower()

parameter

  • no.

return value

If the string contains at least one of alphanumeric characters, and all of these (case-sensitive) characters are lowercase, returns True, otherwise False

Examples

The following example shows islower () instance method:

#!/usr/bin/python3

str = "w3big example....wow!!!"
print (str.islower())

str = "w3big example....wow!!!"
print (str.islower())

Examples of the above output results are as follows:

False
True

Python3 string Python3 string