Question: Submit your Python program. It should include the following. The provided code foralphabet,test_dups,test_miss, andhistogram. Your implementation of thehas_duplicatesfunction. A loop that outputs duplicate information for

Submit your Python program. It should include the following.

  • The provided code foralphabet,test_dups,test_miss, andhistogram.
  • Your implementation of thehas_duplicatesfunction.
  • A loop that outputs duplicate information for each string intest_dups.
  • Your implementation of themissing_lettersfunction.
  • A loop that outputs missing letters for each string intest_miss.

Also submit the output from running your program.

Your submission will be assessed using the following Aspects.

  1. Does the program include a function calledhas_duplicatesthat takes a string parameter and returns a boolean?
  2. Does thehas_duplicatesfunction call thehistogramfunction?
  3. Does the program include a loop over the strings intest_dupsthat callshas_duplicateon each string?
  4. Does the program correctly identify whether each string intest_dupshas duplicates?
  5. Does the program include a function calledmissing_lettersthat takes a string parameter and returns a string parameter?
  6. Does themissing_lettersfunction call thehistogramfunction?
  7. Does themissing_lettersfunction use thealphabetglobal variable directly?
  8. Does the program include a loop over the strings intest_missthat callsmissing_letterson each string?
  9. Does the program correctly identify the missing letters for each string intest_miss, including each string that "uses all the letters"?

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 Programming Questions!