Question: plz use python Write a program that prompts the user to enter a message. The program calculates the frequency of the letters appearing in the

 plz use python Write a program that prompts the user to

plz use python

Write a program that prompts the user to enter a message. The program calculates the frequency of the letters appearing in the message, and prints the result. E.g., the sentence "The rabbit is eating a carrot." would yield [4, 2,1,0,2,0,1,1,3,0,0,0,0,1,1,0,0,3,1,4,0,0,0,0,0,0] (4 "a", 2 "b", 0 "c", etc...). Your program should ignore the case (e.g. " A " and "a" are counted as one "a"). Hint: You should start by initialising a list of counters to store the frequency of appearance for each letter. Note: - The output of the program must be in the format shown in the examples below, including the format of the prompt, and all spaces and punctuation. - Useful methods: isalpha(), index(), append()

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!