Hi everyone, I think this is the last quiz of the course 🙁
Question 1:
This one was the same that WSQ14. I just changed the value of the parameters, it was really easy…
Here´s the code: https://github.com/JsphSalazar/Quiz11/blob/master/s1.py
Question 2:
This one was a little complicated but I searched some examples from a lot of sources that helped me to complete it. Also read the book helped me too.
Here’s the code: https://github.com/JsphSalazar/Quiz11/blob/master/s2.py
Sources:
thinkPython.pdf
https://docs.python.org/3/library/collections.html#collections.Counter
http://stackoverflow.com/questions/21107505/python-word-count-from-a-txt-file-program
http://www.dreamincode.net/forums/topic/265081-counting-words-in-a-txt-file/
#Quiz11 by jsphsalazar is licensed under a Creative Commons Attribution 4.0 International License.