diff --git a/determineUserInput.py b/determineUserInput.py index ceee7b9..fec0251 100644 --- a/determineUserInput.py +++ b/determineUserInput.py @@ -13,9 +13,9 @@ def determineUserInput(sentence): for char in unwantedChar: sentence = sentence.replace(char," ") - print(sentence) + sentenceParse = sentence.split() - print(sentenceParse) + if sentenceParse[0] in questionStarters: # ------------- execute the "what is" code here --------------- response = respondQuestion(sentence), 2 elif sentenceParse[0] in greetings: