online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
# 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): ")

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue