From 52c8cd0900f754cfc0ef1b4baba69fe8ab14e963 Mon Sep 17 00:00:00 2001 From: Low Yi Xuan <69836648+lowyixuan@users.noreply.github.com> Date: Thu, 22 Oct 2020 13:35:36 +0800 Subject: [PATCH] Added line 42-45 --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index e14be5e..6c9d86e 100644 --- a/app.py +++ b/app.py @@ -39,7 +39,10 @@ feelings_list.append("relaxed") encouragement_list.append("Good for you!") counter += 1 - + if each_word == "worried": + feelings_list.append("worried") + encouragement_list.append("The exam is over already! You did your best, that's all that matters!") + counter += 1 if counter == 0: output = "Sorry I don't really understand. Please use different words?"