generate a pie chart showing the share each letter has in the puzzle

This assignment will use your script that generates a puzzle around a word search key. It should offer the user the option of generating a new puzzle or loading a saved one.

It should ask for the file that the key is in if the user chooses to generate a new one, and generate a puzzle with no key (that is, just a random block of characters) if the user enters no file name. It should prompt the user for the file name of the saved puzzle if the user chooses to load an existing one.

Your script should then generate four plots, arranged in a 2×2 grid:

1) A histogram of how often each letter shows up in the puzzle.

2) A plot showing the % each letter makes up of each row.

3) A plot showing the % each letter makes up of each column.

4) A plot showing the % each letter makes up of each up-left to down-right diagonal. (These will have different total numbers of letters in each of them.)

For 2-4, I recommend a plot with clear labeling for the groups, as there are 15 rows and 15 columns to display.

Finally, generate a pie chart showing the share each letter has in the puzzle, and the share each letter has in the answer key. This last one should be skipped if there is no answer key, and a message explaining that it is skipped because there is no answer key given in its place.

Provide some commentary on how easy it is to read the various graphs.

  • attachment

    homework7wordSearchList.txt
  • attachment

    assigment7.py
  • attachment

    homework7wordSearchKey.txt
  • attachment

    homework7wordSearchPuzzle1.txt

WE HAVE HAD A GOOD SUCCESS RATE ON THIS ASSIGBNMENT. PLACE AN ORDER WITH SCHOLAR WRITERS AND GET 100% ORIGINAL PAPERS

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>