Skip to content
Permalink
Browse files
problem solved
  • Loading branch information
manead committed Nov 15, 2017
1 parent 0607eae commit a6556c376252d0073406930f5d8ded87fe0ef778
Showing 1 changed file with 1 addition and 1 deletion.
@@ -17,7 +17,7 @@ def determineUserInput(sentence):

sentenceParse = sentence.split()
if (sentenceParse[0] == "i" and len(sentenceParse) > 1):
if (sentenceParse[1] == ["am", "like", "enjoy", "want", "love"]):
if (sentenceParse[1] in ["am", "like", "enjoy", "want", "love"]):
sentenceParse.insert(0, " ".join(sentenceParse[0:2]))

if sentenceParse[0] in questionStarters: # ------------- execute the "what is" code here ---------------

0 comments on commit a6556c3

Please sign in to comment.