From 43444e0e66af238a1c7885b916114dec0644c15e Mon Sep 17 00:00:00 2001 From: Nathan Parker Date: Thu, 2 Feb 2023 20:28:02 -0500 Subject: [PATCH] Fries Fix Stopped from asking at the end when the order is finished for how many fries. --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index da78661..7ca8384 100644 --- a/main.py +++ b/main.py @@ -375,12 +375,13 @@ def fries_selection(stage): fries_selection('upgrade') elif fries_size.lower().strip() == 'm' or 'medium' in fries_size.lower().strip(): fries_size_selected = 'medium' + fries_selection('amount') elif fries_size.lower().strip() == 'l' or 'large' in fries_size.lower().strip(): fries_size_selected = 'large' + fries_selection('amount') else: error_handle('food selection', 'fries', fries_size) fries_selection('choose') - fries_selection('amount') elif stage == 'upgrade': fries_upgrade = input('Would you like to mega-size your fries? ') if 'yes' in fries_upgrade.lower().strip() or fries_upgrade.lower().strip() == 'y':