Python String islower() MethodPython string islower() method returns True if all characters in the string are in lowercase. It returns False if not in lowercase. SignatureParametersNo parameter is required. ReturnIt returns either True or False. Let's see some examples of islower() method to understand it's functionalities. Python String islower() Method Example 1A simple example to understand how to apply this method. It returns true, see the example below. Output: True Python String islower() Method Example 2It returns False if any single char found in other case than lowercase. See the example below. Output: False Python String islower() Method Example 3String can have digits also and this method works in letters case and ignores digits. So it returns True, see the example below. Output: True Next TopicPython Strings |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India