Question: Python program Write a Python function called is_lower that accepts a string as parameter and returns True if all the characters in the string are

Python programPython program Write a Python function called is_lower that accepts a string

Write a Python function called is_lower that accepts a string as parameter and returns True if all the characters in the string are in lower case. In all other cases, the function returns False. Sample Input: is_lower('a') Output: True. Sample Input: is_lower(ABcd) Output: False. Hint: You can use ord() to get the Unicode of a character. Check appendix A for the ascii codes for different characters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!