Skip to content
Permalink
Browse files
added a part in determineUserInput to determine whether the user is a…
…nswering the multiple choice question
  • Loading branch information
dahilj committed Nov 3, 2017
1 parent 1115f5b commit 1ae81a78857f1d39b70b07dd4e288d3a170efd64
Showing 1 changed file with 4 additions and 3 deletions.
@@ -13,10 +13,11 @@ def determineUserInput(sentence):
if sentenceParse[0] in questionStarters: # ------------- execute the "what is" code here ---------------
response = respondQuestion(sentence), 2
elif sentenceParse[0] in greetings:
return getName(sentence), 1

response = getName(sentence), 1
elif sentence[0] in "abcd":
response = sentence, 3
else:
return sentence, 0
response = sentence, 0
return response
#==========================================================================================================
# list of casual conversation:

0 comments on commit 1ae81a7

Please sign in to comment.