From 9933575d3433fb4e57f121d92921b20b495a830b Mon Sep 17 00:00:00 2001 From: xiangrui-726 <69836918+xiangrui-726@users.noreply.github.com> Date: Thu, 22 Oct 2020 13:39:40 +0800 Subject: [PATCH] edited line 32, added line 42 --- app.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index e14be5e..c433552 100644 --- a/app.py +++ b/app.py @@ -29,7 +29,7 @@ counter += 1 if each_word == "dead tired": feelings_list.append("dead tired") - encouragement_list.append("Just find something fun to do") + encouragement_list.append("It's okay. You should be glad that it's all over! :)") counter += 1 if each_word == "sad": feelings_list.append("sad") @@ -39,7 +39,11 @@ feelings_list.append("relaxed") encouragement_list.append("Good for you!") counter += 1 - + if each_word == "proud": + feelings_list.append("proud") + encouragement_list.append("Good job! Great self-esteem!") + counter += 1 + if counter == 0: output = "Sorry I don't really understand. Please use different words?"