Word, word, word…

image

(Credit goes to http://www.metamorphoselit.com/2016/02/7-submission-slush-sins-revealed.html)

This WSQ was about create a program that asks the user for a word which will be your search word and the name of a file to open and search for that word. Then create a function that will receive two parameters (both string) representing those two data points. This function returns the number of occurrences of that word in that file.

I have help from my students I really  liked the post of a classmate you can find it here.

And my code in GitHub.

CC BY-SA 4.0 Word, word, word… by fernandacano is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.