Question: 10. Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters. Note that char.isupper() returns

10. Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters. Note that char.isupper() returns True if the charis uppercase and false, otherwise. Similarly, char.islower() returns True if the char is lowercase and false, otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
