Skip to content
Permalink
Browse files

Made userWords go lowercase, should fix a couple of bugs

  • Loading branch information
hortonr6 committed Nov 20, 2017
1 parent 04af0d9 commit 7a3c98f67bea28f2171bc7fdd02cdf93a5374047
Showing with 2 additions and 1 deletion.
  1. +2 −1 Get_Functions.py
@@ -14,7 +14,8 @@

def getName(sentence): #Jasper, Richard
"""get the name of the user from the inputed sentence"""
userWords = sentence.split()
userWords = sentence.lower()
userWords = userWords.split()

# ways of introduction:
# "Hello, my name is ___"

0 comments on commit 7a3c98f

Please sign in to comment.
You can’t perform that action at this time.