This article mainly introduces the use of the Islower () method of handling strings in Python, which is the basic knowledge of the introduction of Python, the need of friends can refer to the
The Islower () method determines whether all characters (letters) of the string are checked for lowercase.
The following is the syntax for the Islower () method:
Returns false if all characters in a string are lowercase and have at least one character this method returns True.
The following example shows the use of the Islower () method.
|1 2 3 4 5 6 7||#!/usr/bin/python str = "This is string Example....wow!!!"; Print Str.islower (); str = "This is string Example....wow!!!"; Print Str.islower ();|
When we run the above program, it produces the following results: