Question: For this exercise you will need to complete 2 functions: The get _ letter _ frequency ( ) function that takes a single string parameter,
For this exercise you will need to complete functions:
The getletterfrequency function that takes a single string parameter, text. Use your code for
the getletterfrequency function in the previous question and modify it so that the list returned
by the function contains letter frequency tuples for alphabetical characters that appear at least once in
the parameter text.
The drawletterfrequencychart function that takes a single list parameter
letterfreqlist. The parameter list consists of letter equency tuples as generated by the
getletterfrequency function. Using this list of letter frequency tuples, the function draws a
barchart for the letter frequencies. The format of the barchart can be seen in the examples below.
Some examples of the functions being called are shown below.
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
