# Start code for countWord function
wordList=["the","kenyon","pierce","the","college","gambier","ohio","the","kenyon","middle","college","path","fun","the","gambier","college"]
def countWord(wordList,aWord):
# Given a wordlist, and a word aWord
# Return a count of the number of times
# the word occurs in the list
count = 0
# Your code here
return count
word=input("Enter word to count (enter to stop): ")
while len(word)>0:
print(word,"appears",countWord(wordList,word),"times.")
word=input("Enter word to count (enter to stop): ")