Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started