Skip to content

Commit

Permalink
Fries Fix
Browse files Browse the repository at this point in the history
Stopped from asking at the end when the order is finished for how many fries.
  • Loading branch information
KingPr0o7 committed Feb 3, 2023
1 parent 87a5f9c commit 43444e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 43444e0

Please sign in to comment.