Skip to content
Permalink
Browse files
sorted out the comma bug
  • Loading branch information
dahilj committed Nov 3, 2017
1 parent fbcd3c5 commit 8c6b21fa077002fd87b9fc245808b9a8628eb042
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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:

0 comments on commit 8c6b21f

Please sign in to comment.