From 069f908452fa0dd913647323baf83ba20e69c3d1 Mon Sep 17 00:00:00 2001 From: kingsley Date: Sun, 10 Oct 2021 14:27:26 +1100 Subject: [PATCH] Look and feel of YES/NO prompt - match rest of inputs --- 38 Fur Trader/python/furtrader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/38 Fur Trader/python/furtrader.py b/38 Fur Trader/python/furtrader.py index 165e8a1f..422e6059 100755 --- a/38 Fur Trader/python/furtrader.py +++ b/38 Fur Trader/python/furtrader.py @@ -101,7 +101,8 @@ def getYesOrNo(): Return a single letter 'Y' or 'N' """ result = 0 while ( result not in ( 'Y', 'N' ) ): - player_choice = input( "ANSWER YES OR NO >>" ) + print( "ANSWER YES OR NO" ) + player_choice = input( ">> " ) player_choice = player_choice.strip().upper() # trim spaces, make upper-case if ( player_choice.startswith( 'Y' ) ): result = 'Y'