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 1 changed file with 2 additions and 1 deletion.
@@ -14,7 +14,8 @@ randomStuff = ["Cherophobia is the fear of fun","A flock of crows is called a mu

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.