Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
counter += 1
if each_word == "dead tired":
feelings_list.append("dead tired")
encouragement_list.append("It is okay to take a break, we will be here for you")
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")
Expand All @@ -43,6 +44,13 @@
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 each_word == "depressed":
feelings_list.append("depressed")
encouragement_list.append("Things will get better. Don't give up!")
Expand All @@ -56,6 +64,7 @@
feelings_list.append("worried")
encouragement_list.append("don't think so much about your exam results")
counter += 1

if counter == 0:

output = "Sorry I don't really understand. Please use different words?"
Expand Down