In Python
This homework consists of 6 small programming assignments. They are worth different points. You should implement each program in a separate cell in Jupyter and upload the whole notebook and a PDF version as your submission. The PDF version should include at least one sample input and output for each program. (If you are doing this in PyCharm or another IDE, you can upload just your PY file.)
Use comments in your code that follow the commenting guidelines we covered in class. All code must follow principles of good code design, be readable, modular, and adaptable where needed. See the lectures on Program Design.
Note: Several of the programming assignments use the file 1200wsj.txt, so download it (if you haven't already). We've used this file before in lab - it's a long string of English text as a one line. You should be comfortable splitting it into a list of words, in preparation for some basic processing.
"According to a rscheearch at Cmabrigde Uinervtisy, it deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe."