Question: In the function below, return True if the input string parameter consists of a single lowercase letter; otherwise, return False. Most solutions would do this
In the function below, return True if the input string parameter consists of a single lowercase letter; otherwise, return False. Most solutions would do this in two logical steps: first testing if the string consists of a single character and, second, testing whether that character is one of the lowercase letters (which can be done by seeing if it is alphabetically between a and z, inclusive).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
