Question: Write Python code to ask the user for five words by using a for loop, and then count and display the number of lowercase letter

Write Python code to ask the user for five words by using a for loop, and then count and display the number of lowercase letter a in all of the words. For example, if the user enters the following words, apple, banana, orange, peach, cherry, then your program should display 6 (one a in apple, three as in banana, one a in orange, one a in peach, zero a in cherry).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!