Question: write a program called countLowerCase the program should read a string from the user it should then output the number of letters in lower case
write a program called countLowerCase
the program should read a string from the user
it should then output the number of letters in lower case
but it should count each lower case letter only once see examples
all the code for your solution should be in a single file: the only file that is going to be tested is countLowerCase.py
you can only use what we have covered from ch to ch
Examples
python countLowerCase.py
enter a sentence: abcdefgh
number of different lower case letters found:
python countLowerCase.py
enter a sentence: ABCDEFGH
number of different lower case letters found:
python countLowerCase.py
enter a sentence: XXXXaXXXXaXXXXaaXXXXaaa
number of different lower case letters found:
python countLowerCase.py
enter a sentence: ABccDEeeeFGHIJjjjjKLMNOPpQRSTUVWXYZ
number of different lower case letters found:
HINT
keep track of the lower case letters you count.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
