From 7a3c98f67bea28f2171bc7fdd02cdf93a5374047 Mon Sep 17 00:00:00 2001 From: "Richard Horton (hortonr6)" Date: Mon, 20 Nov 2017 20:51:37 +0000 Subject: [PATCH] Made userWords go lowercase, should fix a couple of bugs --- Get_Functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Get_Functions.py b/Get_Functions.py index 793ea0a..76cd443 100644 --- a/Get_Functions.py +++ b/Get_Functions.py @@ -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 ___"