From d20ddad6d3d0cb0c3a565a010c71064f7d1e0713 Mon Sep 17 00:00:00 2001 From: Amirhossein Date: Sun, 9 Aug 2026 15:20:47 +0330 Subject: [PATCH] Update choose_your_own_adventure.py --- choose_your_own_adventure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/choose_your_own_adventure.py b/choose_your_own_adventure.py index b91083e..6f473ca 100644 --- a/choose_your_own_adventure.py +++ b/choose_your_own_adventure.py @@ -24,7 +24,8 @@ elif answer == "cross": answer = input( "You cross the bridge and meet a stranger. Do you talk to them (yes/no)? ") - + else: + print("You died because you choose a thing out of option!") if answer == "yes": print("You talk to the stanger and they give you gold. You WIN!") elif answer == "no":