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
|
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week