From 97dfef49fd04b8c46cc1e4b1bc52a323d54ff2c5 Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Mon, 18 Nov 2019 23:00:27 -0700 Subject: [PATCH] update --- play.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/play.py b/play.py index 0af2425..0d7cb43 100644 --- a/play.py +++ b/play.py @@ -65,7 +65,11 @@ def play_aidungeon_2(): if action != "": action = action.strip() - action = action[0].upper() + action[1:] + action = first_to_second_person(action) + + if "You" not in action: + action = "You " + action + if action[-1] not in [".", "?", "!"]: action = action + "."