Uppercase Lowercase Count (Problem 11) - InfyTQ Solution in Python
Uppercase Lowercase Count (Problem 11)
InfyTQ Solution in Python
PROBLEM STATEMENT
Write a python function which accepts a sentence and returns a list in which first value is the count of upper case letters and second value is the count of lower case letters in the sentence. Ignore spaces, numbers and other special characters if any.
Sample Input | Expected Output |
---|---|
Hello world! | [1,9] |
Welcome to Mysore | [2,13] |
SOLUTION
SHARE
If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
CODE TOGETHER..GROW TOGETHER.
Newer Posts
Newer Posts
Older Posts
Older Posts
Comments