CaseCount
Submit solution
C++, Python
Points:
20 (partial)
Time limit:
10.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters.
Input: Enter the string to pass it as an argument
Output: Output contains two lines
Line No: 1 :- Number of upper case letters and
Line No: 2 :- Number of lower case letters.
Sample Input 0
QUICK
Sample Output 0
5
0
Sample Input 1
Run Quickly
Sample Output 1
2
8
Sample Input 2
run slowly
Sample Output 2
0
9
Sample Input 3
**#$&
Sample Output 3
0
0
Comments